Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

python library for koinim.com api

Project description

## Getting started

Install the package:

```python
pip install koinim
pip install koinim -U
```

## How to use koinim

Let's include each class in our project, as below.

```python
from koinim import Ltc, Btc

# Ltc
sell = Ltc().sell
buy = Ltc().buy
ltc_to_try = Ltc().ltc_to_try(ltc_amount:float)
try_to_ltc = Ltc().try_to_ltc(try_amount:float)
bids = [bids.__dict__ for bids in Ltc().OrderBook().bids()]
asks = [asks.__dict__ for asks in Ltc().OrderBook().asks()]

# Btc
sell = Btc().sell
buy = Btc().buy
btc_to_try = Btc().btc_to_try(btc_amount:float)
try_to_btc = Btc().try_to_btc(try_amount:float)
bids = [bids.__dict__ for bids in Btc().OrderBook().bids()]
asks = [asks.__dict__ for asks in Btc().OrderBook().asks()]
```

Project details


Release history Release notifications

This version

0.0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for koinim, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size koinim-0.0.1.tar.gz (2.0 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page