Thread Starter
Neto
(@netominas)
I try this
{subloop:ticker_1h}
{subloop:ticker_1h.exchanges:-1}
{subloop:ticker_1h.exchanges.ARN:-1}{ticker_1h.exchanges.ARN.last}
{/subloop:ticker_1h.exchanges}
{/subloop:ticker_1h}
But don’t work again
Thread Starter
Neto
(@netominas)
I try this and work
[jsoncontentimporter url=”https://api.bitvalor.com/v1/ticker.json” basenode=”ticker_1h.exchanges.B2U”]BitcoinToYou = R$ {last}[/jsoncontentimporter]
But i need show the all exchanges, how i can do?
Plugin Author
berkux
(@berkux)
HI,
see
http://api.json-content-importer.com/api-bitvalor-com/
It’S possible to do that one by one with the free version. The pro-version comes with twig which can loop through the items.
Bernhard
Thread Starter
Neto
(@netominas)
This work:
[jsoncontentimporter url=”https://api.bitvalor.com/v1/ticker.json” basenode=”ticker_1h.exchanges.ARN”]Arena Bitcoin = R$ {last}[/jsoncontentimporter]
But, to show all exchanges I tried that, but it did not work
[jsoncontentimporter url=”https://api.bitvalor.com/v1/ticker.json” basenode=”ticker_1h.exchanges.ARN”]Arena Bitcoin = R$ {last}[/jsoncontentimporter]
[jsoncontentimporter url=”https://api.bitvalor.com/v1/ticker.json” basenode=”ticker_1h.exchanges.BTD”]BitcoinTrade = R$ {last}[/jsoncontentimporter]
[jsoncontentimporter url=”https://api.bitvalor.com/v1/ticker.json” basenode=”ticker_1h.exchanges.FLW”]flowBTC = R$ {last}[/jsoncontentimporter]
[jsoncontentimporter url=”https://api.bitvalor.com/v1/ticker.json” basenode=”ticker_1h.exchanges.FOX”]FoxBit = R$ {last}[/jsoncontentimporter]
[jsoncontentimporter url=”https://api.bitvalor.com/v1/ticker.json” basenode=”ticker_1h.exchanges.LOC”]LocalBitcoins = R$ {last}[/jsoncontentimporter]
[jsoncontentimporter url=”https://api.bitvalor.com/v1/ticker.json” basenode=”ticker_1h.exchanges.MBT”]Mercado Bitcoin = R$ {last}[/jsoncontentimporter]
Plugin Author
berkux
(@berkux)
When testing I get “Failed to connect to api.bitvalor.com port 443: Connection refused” very often.
So the API might expect additional data or is just instable?