Bitcoin Forum
April 24, 2024, 03:19:30 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 [2]  All
  Print  
Author Topic: mtgox API  (Read 5908 times)
coga
Full Member
***
Offline Offline

Activity: 222
Merit: 100


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
1713928770
Hero Member
*
Offline Offline

Posts: 1713928770

View Profile Personal Message (Offline)

Ignore
1713928770
Reply with quote  #2

1713928770
Report to moderator
Bitcoin addresses contain a checksum, so it is very unlikely that mistyping an address will cause you to lose money.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
grondilu (OP)
Legendary
*
Offline Offline

Activity: 1288
Merit: 1076


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
Merit: 250


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
Merit: 250


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: 322
Merit: 251



View Profile
August 26, 2012, 01:00:42 AM
Last edit: November 25, 2012, 07:19:38 PM by SmiGueL
 #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: 322
Merit: 251



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:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!