Bitcoin Forum
May 11, 2024, 04:29:40 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Kraken API example in Python  (Read 7643 times)
omnibrain (OP)
Newbie
*
Offline Offline

Activity: 27
Merit: 0


View Profile
September 12, 2013, 03:37:37 PM
 #1

Hi,

I'm having trouble getting access to Kraken's private API. I don't understand how to create the API signature. If somebody could post an example, if possible in Python, I'd be very grateful.

This is the description on their website on how to create the signature:

Code:
API-Sign = Message signature using HMAC-SHA512 of (URI path + SHA256(nonce + POST data)) and base64 decoded secret API key
Whoever mines the block which ends up containing your transaction will get its fee.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715444980
Hero Member
*
Offline Offline

Posts: 1715444980

View Profile Personal Message (Offline)

Ignore
1715444980
Reply with quote  #2

1715444980
Report to moderator
1715444980
Hero Member
*
Offline Offline

Posts: 1715444980

View Profile Personal Message (Offline)

Ignore
1715444980
Reply with quote  #2

1715444980
Report to moderator
1715444980
Hero Member
*
Offline Offline

Posts: 1715444980

View Profile Personal Message (Offline)

Ignore
1715444980
Reply with quote  #2

1715444980
Report to moderator
Dargo
Legendary
*
Offline Offline

Activity: 1820
Merit: 1000


View Profile
September 14, 2013, 03:19:08 AM
 #2

Hi,

I'm having trouble getting access to Kraken's private API. I don't understand how to create the API signature. If somebody could post an example, if possible in Python, I'd be very grateful.

This is the description on their website on how to create the signature:

Code:
API-Sign = Message signature using HMAC-SHA512 of (URI path + SHA256(nonce + POST data)) and base64 decoded secret API key

Omnibrain,

I'm not sure this will help since I haven't looked at it carefully, but here's the only example python code I know of for Kraken API.

http://pastie.org/7727991

The above is linked from here

http://krakenapi.everdot.org/API/

which may also be useful.

But be careful since all this documentation is old. You may be able to make some headway by comparing it with Kraken's newer documentation. Good luck!
Dargo
Legendary
*
Offline Offline

Activity: 1820
Merit: 1000


View Profile
October 28, 2013, 10:55:04 PM
 #3

Someone has created a python package for Kraken (called "krakenex") in GitHub.

https://github.com/veox/krakenex
Pages: [1]
  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!