khoffrath / ga-bitbot

Automatically exported from code.google.com/p/ga-bitbot
GNU General Public License v3.0
0 stars 0 forks source link

Update to URL needed for MtGoxHMAC.py #67

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In MtGoxHMAC.py

Lines 42 and 43, the url needs to be changed.

        self.__url_parts = urlparse.urlsplit("https://mtgox.com/api/0/")
        self.__url_parts_1 = urlparse.urlsplit("https://mtgox.com/api/1/")

To

        self.__url_parts = urlparse.urlsplit("https://data.mtgox.com/api/0/")
        self.__url_parts_1 = urlparse.urlsplit("https://data.mtgox.com/api/1/")

found from:
https://mtgox.com/api/0/ticker.php  
returning:
{"error":"This API is not available directly anymore, please replace mtgox.com 
with data.mtgox.com in the url"}

Original issue reported on code.google.com by anderson...@gmail.com on 22 Mar 2013 at 4:53

GoogleCodeExporter commented 9 years ago
Thank you for the heads up =)

Original comment by purge...@gmail.com on 23 Mar 2013 at 5:38

GoogleCodeExporter commented 9 years ago
Fixed on the repo. Download version needs to be updated.

Original comment by brian.mo...@gmail.com on 26 Mar 2013 at 1:19

GoogleCodeExporter commented 9 years ago
Download version 0.3 contains the updated mtgox API URL.

Original comment by brian.mo...@gmail.com on 1 Apr 2013 at 12:42