A Python wrapper for Korbit API
Project description
python-korbit is a Korbit API wrapper in Python.
API Call Examples
This section illustrates how some of the API can be called.
from korbit.api import get_transactions
get_transactions()
This will fetch all transactions from the server producing an output as following:
[
{"timestamp":1389678052000,"tid":"22546","price":"569000","amount":"0.01000000"},
{"timestamp":1389678017000,"tid":"22545","price":"580000","amount":"0.01000000"},
{"timestamp":1389462921000,"tid":"22544","price":"569000","amount":"0.16348000"},
{"timestamp":1389462921000,"tid":"22543","price":"570000","amount":"0.20000000"},
{"timestamp":1389462920000,"tid":"22542","price":"578000","amount":"0.33652000"},
...
]
Other functions are available and the usage of each function will be gradually added on this documentation in the future.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
korbit-0.1.3.tar.gz
(6.5 kB
view hashes)