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.3.tar.gz (6.2 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: pyndodax-0.3.tar.gz
  • Upload date:
  • Size: 6.2 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.8.0

File hashes

Hashes for pyndodax-0.3.tar.gz
Algorithm Hash digest
SHA256 029372bb4a1d7e2652345b6b29b02c0c1c9de6fb54144177bbf379086378fa87
MD5 5e84c4cb5be5b0ba05b0f114bc71ff7d
BLAKE2b-256 12fab0d07e80bcaa64cbd8a5d2903d83e067ae39608532e0a659196cee067c5b

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