Help with a crypto command

Hello, can someone help me with a crypto command, i want something like this “$(eval x=$(urlfetch json https://api.coindesk.com/v1/bpi/currentprice.json); try { Ultima actualización: + x.time.updated + | Precio: 1 Bitcoin = + x.bpi.USD.rate + $ } catch(e) { " " })” but with SHIBA and DOGE crypto, it is possible?

Hey @Jota!

They don’t track Shibacoin on that website, but you can have the value of Dogecoin, sure, you just need to use a newer version of their API, however, they don’t seem to open it to the public directly, so they don’t guarantee support, which means if there are any changes on it, it could break, at any time.

$(eval d=$(urlfetch json https://production.api.coindesk.com/v2/price/ticker/sparkline?assets=DOGE).data.DOGE.sparkline; d=d[d.length-1][1]; `1 Dogecoin = ${d} USD`)

do you know if there is another website/api for shibacoin?, thx for dogecoin i appreciate it a lot

1 Like

I don’t know any, no, otherwise I would have suggested another one, but I’m not into cryptocurrency.
Just look around the web, if you can find a website that tracks Shibacoin, there likely is an API we can use.

okay thank you so much for helping me, i’ll look around for shibacoin

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.