Bitcoin Forum
April 27, 2018, 07:28:41 AM *
News: Latest stable version of Bitcoin Core: 0.16.0  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Pages: « 1 [2]  All
  Print  
Author Topic: Easy Wordpress Bitcoin Price Widget Using PHP Script  (Read 9220 times)
Raoul Duke
aka psy
Legendary
*
Offline Offline

Activity: 1456
Merit: 1000



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.

1524814121
Hero Member
*
Offline Offline

Posts: 1524814121

View Profile Personal Message (Offline)

Ignore
1524814121
Reply with quote  #2

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

Posts: 1524814121

View Profile Personal Message (Offline)

Ignore
1524814121
Reply with quote  #2

1524814121
Report to moderator
1524814121
Hero Member
*
Offline Offline

Posts: 1524814121

View Profile Personal Message (Offline)

Ignore
1524814121
Reply with quote  #2

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

Activity: 192
Merit: 100



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.

DISCIPLINA — The First Blockchain For HR & Education
From core developers of Cardano, PoS minting, unique Web Of Trust & Privacy algorithms. Be the first, join us!
  WEBSITE  TELEGRAM  ANN  BOUNTY  LINKEDIN  WHITEPAPER  Referral Program 5%
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!