Permalink
Browse files

Mt.Gox bitcoin exchange ticker

  • Loading branch information...
lexszero authored and l29ah committed Jul 19, 2012
1 parent 4146a78 commit 0f6b84ed57e4b3b2b15981f93e2df8d4f82fb304
Showing with 6 additions and 0 deletions.
  1. +6 −0 mtgox.com/mtgox-ticker.pl
@@ -0,0 +1,6 @@
#!/usr/bin/perl
use LWP::Simple;
use JSON;
my %resp = %{from_json(get("https://mtgox.com/api/1/BTCUSD/ticker"))};
print "Sell: $resp{return}{sell}{value}\n";
print "Buy: $resp{return}{buy}{value}\n";

0 comments on commit 0f6b84e

Please sign in to comment.