Title: Help with getting started with mtgox api request Post by: bittencoin on April 15, 2013, 02:13:19 AM Hello,
I want to create a very simple php based interface to display data from Mtgox api. I don't like their trading interface, so I want to create a web page to arrange the displays to my liking. The link for the unofficial api documentation https://bitbucket.org/nitrous/mtgox-api/overview (https://bitbucket.org/nitrous/mtgox-api/overview) As of now, I am stuck at the very first step of being able to retrieve data and display the data using the available example php code. The code is unable to retrieve a very basic data dump. Could someone give an working example to get me started. I am trying to implement mtgox api version 2. The only code that I modified to the standard code example are the path and the base definitions (highlighted in bold in the code below) Thank you Code: <?php I run this code on a PC with xampp installed. The output error is Code: array(3) { ["result"]=> string(5) "error" ["error"]=> string(45) "Identification required to access private API" ["token"]=> string(29) "login_error_invalid_rest_sign" } Title: Re: Help with getting started with mtgox api request Post by: botsofbitcoin on April 15, 2013, 02:25:39 AM I hope it's not this but I assume you're using a valid API key and code where it says to?
Title: Re: Help with getting started with mtgox api request Post by: bittencoin on April 15, 2013, 05:57:38 AM I hope it's not this but I assume you're using a valid API key and code where it says to? I use the API key and secret code created from my account, not shown here of course. And did just switch them around just to be sure after you raised that possibility. UPDATE: I found the error/fix here https://bitcointalk.org/index.php?topic=164404.msg1845894#msg1845894 (https://bitcointalk.org/index.php?topic=164404.msg1845894#msg1845894) |