Ninjastic
Home
Search
Users
Boards
Addresses
Ctrl + K
Toggle theme
Open menu
Post
Edited versions
Quotes to this post
Post
59320
Topic
4108
Board
Development & Technical Discussion
Re: HELP! Need to automate live bitcoin exchange rate.
by
Quip
on
04/03/2011, 00:22:36 UTC
No idea about perl, but in PHP:
Code:
$goxPrice = json_decode(file_get_contents("http://mtgox.com/code/data/ticker.php"))->{'ticker'}->{'sell'};
You can use "buy", "sell", or "last" based on your needs.