Skip to main content

Python Korbit

python-korbit is a Korbit API wrapper in Python.

https://travis-ci.org/suminb/korbit.svg?branch=master https://coveralls.io/repos/suminb/korbit/badge.png?branch=master

Environment Variables

You will need to set a few environment variables to make this library work properly. A skeleton code is provided in provision-dist.sh. Make a copy and fill in values. API keys can be issued in https://www.korbit.co.kr/my/api/.

cp provision-dist.sh provision.sh
source provision.sh

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.

Metadata

Release files for korbit 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for korbit 0.1.4
File Size Uploaded Provenance
korbit-0.1.4.tar.gz 8.8 kB Without provenance Details

Release files / korbit-0.1.4.tar.gz

Download URL korbit-0.1.4.tar.gz
Size 8.8 kB
Tags Source
SHA-256 checksum
How to use checksums
c9f90eda89b60282a2ace505cf7a4d4b751a815e03d72ab3918611e8ecaeaf0f
BLAKE2b-256 checksum
How to use checksums
b7f97dec3780e85151810881e4dc6059a1267450d3fd1e8c5665f6c9e30c712a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Python-urllib/2.7

Security for korbit 0.1.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page