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.00254200, volume=8745.682
  • Base:BitFinex, price=0.00254710, volume=439.51505177
  • Base:Bittrex, price=0.00252954, volume=26.99744843
  • Base:Cex.io, price=0.00266600, volume=1.20967729
  • Base:Coinbase Pro, price=0.00247810, volume=1193.84551725
  • Base:Exmo, price=0.00254317, volume=2131.32012284
  • Base:Kraken, price=0.00254000, volume=1411.32014499
  • Base:Poloniex, price=0.00254701, volume=273.56629648
  • Base:YoBit, price=0.00256749, volume=391743.77039111