Bitcoin Forum
December 16, 2017, 05:38:51 PM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: « 1 [2]  All
  Print  
Author Topic: Easy Wordpress Bitcoin Price Widget Using PHP Script  (Read 9218 times)
Raoul Duke
aka psy
Legendary
*
Offline Offline

Activity: 1456



View Profile
January 31, 2014, 11:23:17 AM
 #21

Can anyone tell me how to display latest prices for the top currencies in that one script like USD, CAD, Pounds, UR without having to have many copies of the script?

I think you will need one curl call for each currency, which can get pretty taxing on your server if you get the tickers on each page load.
Unless you can find a ticker which displays all currencies using one call only, ofcourse.

EDIT: Found it: https://api.bitcoinaverage.com/ticker/global/all

Tell me which currencies you want and which value(s) to show for each currency and I'll see what I can do about it if you can't do it yourself.

1513445931
Hero Member
*
Offline Offline

Posts: 1513445931

View Profile Personal Message (Offline)

Ignore
1513445931
Reply with quote  #2

1513445931
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1513445931
Hero Member
*
Offline Offline

Posts: 1513445931

View Profile Personal Message (Offline)

Ignore
1513445931
Reply with quote  #2

1513445931
Report to moderator
1513445931
Hero Member
*
Offline Offline

Posts: 1513445931

View Profile Personal Message (Offline)

Ignore
1513445931
Reply with quote  #2

1513445931
Report to moderator
JessyMatt
Full Member
***
Offline Offline

Activity: 192


View Profile
March 05, 2014, 03:31:52 AM
 #22

Can anyone replace Mt Gox with another on this? Mt Gox is dead. Maybe Blockchain or something. I'm using this on my site http://www.bitcoinvalues.net but the prices are useless now cause Mt. Gox no longer exist.
Pages: « 1 [2]  All
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!