aboutsummaryrefslogtreecommitdiffstats
path: root/ticker.php
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2012-10-28 20:48:24 -0700
committerAdam Soltys <[email protected]>2012-10-28 20:48:24 -0700
commit2af62c8a50444359408a88cb5b2ab3a4f813fad8 (patch)
tree80dcf811cbe5160a91113d707bbcc4c419b8e0d4 /ticker.php
parentf96887f4ba736f83c6a994f192e6d555a679b44a (diff)
downloadcoinos-server-2af62c8a50444359408a88cb5b2ab3a4f813fad8.tar.gz
coinos-server-2af62c8a50444359408a88cb5b2ab3a4f813fad8.zip
Gracefully handle connection failures
Diffstat (limited to 'ticker.php')
-rw-r--r--ticker.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/ticker.php b/ticker.php
new file mode 100644
index 00000000..4cce3bcb
--- /dev/null
+++ b/ticker.php
@@ -0,0 +1 @@
+<? echo file_get_contents("http://bitcoincharts.com/t/depthcalc.json?symbol=virtexCAD&type=ask&amount=1000&currency=true"); ?>