From 26281eb21ceeddbb7e31929081fe6a7283c15938 Mon Sep 17 00:00:00 2001 From: club-mate Date: Sun, 31 Jul 2011 02:38:32 +0200 Subject: add mtgox' public API --- btc/mtgox/mtgox.getDepth | 3 +++ 1 file changed, 3 insertions(+) create mode 100755 btc/mtgox/mtgox.getDepth (limited to 'btc/mtgox/mtgox.getDepth') diff --git a/btc/mtgox/mtgox.getDepth b/btc/mtgox/mtgox.getDepth new file mode 100755 index 00000000..7401d532 --- /dev/null +++ b/btc/mtgox/mtgox.getDepth @@ -0,0 +1,3 @@ +#! /bin/sh +# get mtgox market depth +wget -qO- http://mtgox.com/code/data/getDepth.php -- cgit v1.2.3 From 3a202fe94eff7b68fa3ffdac35caabf5ee815284 Mon Sep 17 00:00:00 2001 From: club-mate Date: Sun, 31 Jul 2011 03:50:12 +0200 Subject: mtgox: s/wget/curl/g --- btc/mtgox/mtgox.getDepth | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'btc/mtgox/mtgox.getDepth') diff --git a/btc/mtgox/mtgox.getDepth b/btc/mtgox/mtgox.getDepth index 7401d532..effc28a0 100755 --- a/btc/mtgox/mtgox.getDepth +++ b/btc/mtgox/mtgox.getDepth @@ -1,3 +1,3 @@ #! /bin/sh # get mtgox market depth -wget -qO- http://mtgox.com/code/data/getDepth.php +$ curl -ksS http://mtgox.com/code/data/getDepth.php -- cgit v1.2.3 From 554c90e8456f44ac82ac3d64f3c31f0ac93cac8d Mon Sep 17 00:00:00 2001 From: club-mate Date: Sun, 31 Jul 2011 04:12:02 +0200 Subject: mtgox: s/http/https/g --- btc/mtgox/mtgox.getDepth | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'btc/mtgox/mtgox.getDepth') diff --git a/btc/mtgox/mtgox.getDepth b/btc/mtgox/mtgox.getDepth index effc28a0..9a607979 100755 --- a/btc/mtgox/mtgox.getDepth +++ b/btc/mtgox/mtgox.getDepth @@ -1,3 +1,3 @@ #! /bin/sh # get mtgox market depth -$ curl -ksS http://mtgox.com/code/data/getDepth.php +$ curl -ksS https://mtgox.com/code/data/getDepth.php -- cgit v1.2.3