API: api.cryptonator.com

Challenge: Get data from https://api.cryptonator.com/api/full/dash-btc. Unfortunaletly this API requests more than a simple and pure http-request.
Solution: Use curl.
Shortcode with twig:
[jsoncontentimporterpro url=https://api.cryptonator.com/api/full/dash-btc method=curlget convertjsonnumbers2strings=yes parser=twig] {{ticker.base}}
<ul>{% for m in ticker.markets %}
<li>Base:{{m.market}}: price={{m.price}}, volume={{m.volume}}</li>
{% endfor %}</ul> [/jsoncontentimporterpro]
In Action: DASH
  • Base: Binance, price=0.00343000, volume=72340.307
  • Base: BitFinex, price=0.00343150, volume=3954.1108349
  • Base: Bittrex, price=0.00339664, volume=1.56839533
  • Base: Cex.io, price=0.00351900, volume=63.74849323
  • Base: Coinbase Pro, price=0.00343339, volume=5555.51586463
  • Base: Exmo, price=0.00343295, volume=625.86573295
  • Base: Kraken, price=0.00344000, volume=1193.69154836
  • Base: Poloniex, price=0.00343802, volume=1210.88338928
  • Base: YoBit, price=0.00343482, volume=471533.9811733