Skip to content

gwangyi/pycoinone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyCoinone

A Python wrapper for Coinone API

Coinone API documentation can be obtain in Coinone API Documentation.

Install

Clone this repository and install with pip.

git clone https://github.com/gwangyi/pycoinone
cd pycoinone
pip install .

Example

from coinone.core import Coinone, CoinoneV1, CoinoneV2

api = Coinone()

print(api.orderbook(currency='btc'))  # http://api.coinone.co.kr/orderbook/

api = CoinoneV1(access_token="YOUR_ACCESS_TOKEN")

print(api.account.balance())  # https://api.coinone.co.kr/v1/account/balance/

api = CoinoneV2(access_token="YOUR_ACCESS_TOKEN",
                secret_key="YOUR_SECRET_KEY")

print(api.account.balance())  # https://api.coinone.co.kr/v2/account/balance/

License

See the LICENSE file for license rights and limitations (MIT).

About

Python wrapper for Coinone API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages