Advertisement
Guest User

Untitled

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