Bitcoin Forum
December 02, 2016, 06:11:31 PM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: « 1 [2]  All
  Print  
Author Topic: mtgox API  (Read 5411 times)
coga
Full Member
***
Offline Offline

Activity: 226


www.btcbuy.info


View Profile WWW
June 17, 2011, 04:51:43 AM
 #21

Is this still working? I am getting {"error":"not logged in"}

GPG key: 6F8E305690A05365B58C50A
1480702291
Hero Member
*
Offline Offline

Posts: 1480702291

View Profile Personal Message (Offline)

Ignore
1480702291
Reply with quote  #2

1480702291
Report to moderator
1480702291
Hero Member
*
Offline Offline

Posts: 1480702291

View Profile Personal Message (Offline)

Ignore
1480702291
Reply with quote  #2

1480702291
Report to moderator
1480702291
Hero Member
*
Offline Offline

Posts: 1480702291

View Profile Personal Message (Offline)

Ignore
1480702291
Reply with quote  #2

1480702291
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1480702291
Hero Member
*
Offline Offline

Posts: 1480702291

View Profile Personal Message (Offline)

Ignore
1480702291
Reply with quote  #2

1480702291
Report to moderator
1480702291
Hero Member
*
Offline Offline

Posts: 1480702291

View Profile Personal Message (Offline)

Ignore
1480702291
Reply with quote  #2

1480702291
Report to moderator
1480702291
Hero Member
*
Offline Offline

Posts: 1480702291

View Profile Personal Message (Offline)

Ignore
1480702291
Reply with quote  #2

1480702291
Report to moderator
grondilu
Legendary
*
Offline Offline

Activity: 1134


View Profile
June 17, 2011, 11:55:18 AM
 #22

Is this still working? I am getting {"error":"not logged in"}

works fine here.


curl --sslv3 -k -d "name=yourname&pass=yourpassword" https://mtgox.com/code/getFunds.php ;
sonba
Sr. Member
****
Offline Offline

Activity: 395


View Profile
July 04, 2011, 05:58:44 PM
 #23

Hmmm... I'm also getting this "error:not logged in" message. Maybe someone can give me a hint what I'm doing wrong? And, sorry, yes - I actually did try it in VBA Grin makes it easier to do the bookkeeping for tax reasons as everything gets feeded into Excel.
Attached the part where I try to check my funds (obviously MyName and MyPass are my correct username and password Smiley
Code:
   Set Req = New WinHttpRequest
   Req.Open "POST", "https://mtgox.com/code/getFunds.php", False
   Req.Send "name=MyName&pass=MyPass"

Hihgly appreciated if someone could help me here Smiley

Thanks!!!
sonba
Sr. Member
****
Offline Offline

Activity: 395


View Profile
July 04, 2011, 07:25:43 PM
 #24

Thanks, found the error - I was forgetting the header...
   Req.SetRequestHeader "Content-Type", "application/x-www-form-urlencoded"
SmiGueL
Sr. Member
****
Offline Offline

Activity: 321



View Profile
August 26, 2012, 01:00:42 AM
 #25

Since the change in march 2012 the API isn't accessible with username/password
but it seems to work with the API key.

But whatever I'm trying to get this in VBA, this doesn't work for me..  Undecided

When replacing the name & password with API key doesn't work,
and the wiki also isn't very helpful

Code:

Set http = CreateObject("MSXML2.ServerXMLHTTP")
http.Open "GET", "https://mtgox.com/code/getFunds.php", False
http.setRequestHeader "Content-Type", "application/x-www-form-urlencoded"
http.Send ""

Can someone please help me with this? Smiley
Rights at the MtGox website are checked, so that shouldn't be the problem..


Thanks in advance Smiley



*Because I don't want to create a new topic with a question of an existing topic, I post it right here Smiley

Asicminer Hashrate Charts @ www.asicminercharts.com

Donations BTC: 1SmiGSGWXzD5aZhmw3jyfpBFCgiki45MT
SmiGueL
Sr. Member
****
Offline Offline

Activity: 321



View Profile
August 27, 2012, 04:43:23 PM
 #26

Anyone?

I did a lot of googling and searching on the forum but couldn't find any working methods
(all of them were made in 2011, and worked with name+pass login)

Thanks in advance! Smiley

Asicminer Hashrate Charts @ www.asicminercharts.com

Donations BTC: 1SmiGSGWXzD5aZhmw3jyfpBFCgiki45MT
Pages: « 1 [2]  All
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!