Bitcoin Forum

Bitcoin => Bitcoin Discussion => Topic started by: DamienBlack on July 04, 2011, 07:23:07 PM



Title: Mt Gox API?
Post by: DamienBlack on July 04, 2011, 07:23:07 PM
Is the Mt Gox API working yet? It hasn't worked for me since the reopening. I keep getting a "bad token" error. I thought the API would be working now that the websockets are working.

Has anyone managed to get the API to work, and if so, can you point me to some documentation about how it is working now?


Title: Re: Mt Gox API?
Post by: Jere.Jones on July 04, 2011, 07:31:48 PM
If you get a bad token you are probably calling www.mtgox.com instead of mtgox.com (without the www).

Jere


Title: Re: Mt Gox API?
Post by: DamienBlack on July 04, 2011, 07:37:45 PM
Hmm, no, I'm calling https://mtgox.com/code/getOrders.php using the POST method with a name and pass. Just like it says to at

https://mtgox.com/support/tradeAPI

Is that out of date?


Title: Re: Mt Gox API?
Post by: neofutur on July 04, 2011, 07:39:40 PM
mtgox API is working well

at least the actions listed on : https://mtgox.com/support/tradeAPI

you can also use the goxsh tool to make it easier :

https://github.com/ahihi/goxsh


Title: Re: Mt Gox API?
Post by: Jere.Jones on July 04, 2011, 07:43:25 PM
Damien,

If you share the code, I'll try to help.

Jere