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.00376600, volume=24820.234
  • Base:BitFinex, price=0.00375350, volume=1487.78011721
  • Base:Cex.io, price=0.00375700, volume=13.39047954
  • Base:Coinbase Pro, price=0.00375897, volume=3720.58471461
  • Base:Exmo, price=0.00375629, volume=551.345279
  • Base:Kraken, price=0.00377000, volume=1209.87147527
  • Base:Poloniex, price=0.00377845, volume=560.44094626
  • Base:YoBit, price=0.00376979, volume=304797.55319597