Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- set json to (do shell script "curl https://bittrex.com/api/v1.1/public/getticker?market=USDT-NEO")
- tell application "JSON Helper"
- set response to read JSON from json
- set resultobj to |result| of response
- set price to |last| of resultobj
- end tell
- set result_string to "$" & price & ""
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement