Skip to main content

A Python wrapper for indodax.com API with support for async i/o

Project description

pyndodax

Build Status

An unofficial Python wrapper for indodax.com API with support for async i/o

Original API documentation

Public API

Indodax provides 4 public endpoint that can be accessed by the public. This library will provide those 4 endpoints in the pyndodax.public module, which consisted of:

  • Get current price of all markets (aio_get_all_tickers())
  • Get current price of a given market (aio_get_ticker(pair))
  • Get last few trade history of a given market (aio_get_trades(pair))
  • Get bids and asks of a given market (aio_get_depth(pair))

You can describe a trade pair with Pair, custom enum type that can be accessed at pyndodax.pair. If you want to pick a currency that is traded against IDR, just refer it with the currency symbol, all uppercase. For BTC traded currencies, add _BTC as a postfix. e.g.:

  • btc-idr is Pair.BTC
  • bat-idr is Pair.BAT
  • eth-btc is Pair.ETH_BTC
  • etc.

Private API

TBA

Want to add something?

You can clone this repo and setup a dev environment by running these commands

python setup.py install
pip install -e .[dev]

Code something and create a pull request!

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

pyndodax-0.2.tar.gz (5.6 kB view details)

Uploaded Source

File details

Details for the file pyndodax-0.2.tar.gz.

File metadata

  • Download URL: pyndodax-0.2.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.1

File hashes

Hashes for pyndodax-0.2.tar.gz
Algorithm Hash digest
SHA256 dd0d3261bc3ca8ca45be1f745f9ac81efee5eef6787577f3c6198e1ebab9833a
MD5 c73a6d8584c4e64ef54aff77096267a4
BLAKE2b-256 3950a23786054500190572aee3c332286dc7c29f0631f184ae2842042b99847b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page