- Notifications
You must be signed in to change notification settings - Fork13
Python Interface for CoinTracking.info API
License
tehtbl/python-ctapi
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Python interface forCoinTracking.info API.
I am not associated to cointracking.info -- use at your own risk!
- requests
python setup.py install
pip install python-ctapi
This is an example about how you can use the library
#!/usr/bin/env python2from ctapi import CTAPIapi_key = <YourAPIKey>api_secret = <YourAPISecret># api = CTAPI(api_key, api_secret, debug=True)api = CTAPI(api_key, api_secret)trades = api.getTrades()if trades['success']: for t in trades['result']: print trades['result'][t]else: print "got no orders"print api.getBalance()print api.getHistoricalSummary()print api.getHistoricalCurrency()print api.getGroupedBalance()print api.getGains()be aware of the API requests limit of 20 req/h
venv/bin/python -m unittest -v ctapi.test.ctapi_tests
Do you have an idea or found a bug in python-ctapi? Please file an issue and make a PR! :)
If you like the API and wanna support its developer, use the following referral link when registering at cointracking:https://cointracking.info?ref=T161519
About
Python Interface for CoinTracking.info API
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors6
Uh oh!
There was an error while loading.Please reload this page.