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.00533100, volume=18952.405
  • Base: BitFinex, price=0.00532610, volume=1228.18150301
  • Base: Bittrex, price=0.00532169, volume=338.55650169
  • Base: Cex.io, price=0.00533800, volume=49.07848432
  • Base: Coinbase Pro, price=0.00532417, volume=1053.56065246
  • Base: Exmo, price=0.00532328, volume=478.96963251
  • Base: Kraken, price=0.00535000, volume=631.73771258
  • Base: Poloniex, price=0.00530900, volume=346.7922325
  • Base: YoBit, price=0.00538455, volume=380846.47289921