Post
Topic
Board Service Announcements
Re: BitsPerDollar.com • Instant USD⇔Bits/BTC conv. • API • Dynamic images • Twitter
by
EcuaMobi
on 26/04/2016, 15:24:16 UTC
How can one show the results of your API calls on a webpage? I want to show the extended value that I get from the API and not from the images (images seem to stop at 4 decimal places). Sorry to necro this thread but there is no documentation listed on the site. I currently have the api url in an iframe but I assume there is a more elegant way to do this.

Hi. This site is no longer mine, it was sold a few months ago.

Regarding your question, you can just query the API http://bitsperdollar.com/api.json
Then you'll need to parse it, read the field you need and do the math yourself.

Or you can use what's described under "Automatic conversion" in OP, only if that fits your needs.