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.00543300, volume=72494.481
  • Base: BitFinex, price=0.00540680, volume=2702.99447223
  • Base: Cex.io, price=0.00541600, volume=157.7694599
  • Base: Coinbase Pro, price=0.00544353, volume=5369.30402263
  • Base: Exmo, price=0.00543275, volume=899.05475182
  • Base: Kraken, price=0.00543000, volume=4383.65851874
  • Base: Poloniex, price=0.00541618, volume=1269.2765976
  • Base: YoBit, price=0.00543672, volume=322582.71461147