Python package to communicate with bitstamp.net API
There are two classes. One for public part of API and second for trading part. Public class doesn't need user credentials, because API commands which this class implements are not bound to bitstamp user account.
Description of API: https://www.bitstamp.net/api/
- requests (pip install requests)
sudo pip install git+git://github.com/kmadac/bitstamp-python-client.git
- Create Bitstamp code
- Check Bitstamp code
- Redeem Bitstamp code
- Send to user
import bitstamp.client
bs_client_public = bitstamp.client.public()
ticker = bs_client_public.ticker()
bs_client_trading = bitstamp.client.trading(user='999999', password='yoursecret')
account_balance = bs_client_trading.account_ballance()