네트워커의 보안 티스토리

F1::

Loop

{


winHttp := ComObjCreate("WinHttp.WinHttpRequest.5.1") 


winHttp.Open("GET","https://crix-api-endpoint.upbit.com/v1/crix/candles/minutes/10?code=CRIX.UPBIT.KRW-BTC") ;


winHttp.Send("") 


winHttp.WaitForResponse( ) ;


Data:= winHttp.ResponseText


RegExMatch(Data, "tradePrice"`":(.*?),", Result)


msgbox, %Result1%


sleep 3 * 1000 ; 3초

}


F2::

exitapp



;;F1시작

;;F2 종료