Cryptocurrency api

Can some one help me setup cryptocurrency api inside scrolling text. I keep getting error using $wg. Sorry I am new to all this so I might be missing something in the code. Thanks in advance.

Hi! You need to use JSON Path, so something like this:

  • To return USD rate use -> $wg("http://api.coindesk.com/v1/bpi/currentprice.json", json, "..USD.rate")$
  • To return Chart Name use -> $wg("http://api.coindesk.com/v1/bpi/currentprice.json", json, "..chartName")$

You can test JSON Path at this URL: http://jsonpath.com/

Hope it helps

Thank you so much, this worked perfect for Bitcoin. Would you also know how to get this done with another alt coin like neo from binance exchange?

Update..Nevermind, I figured it out..I used coinmarketcap api for neo. I have another question. Would it be possible to have most recent sms in scrolling text?