Skip to content
This repository has been archived by the owner on May 11, 2019. It is now read-only.
/ yunbi Public archive

A Python wrapper for the yunbi.com api

License

Notifications You must be signed in to change notification settings

imlonghao/yunbi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

yunbi

A Python wrapper for the yunbi.com api

PyPI license

Install

You can install and upgrade this wrapper from pip:

$ pip install -U yunbi

Docs

This wrapper is based on the API list on yunbi.com, you can check it out from YUNBI EXCHANGE API LIST.

What you need to know is that,

in get_trades and get_trades_my functions, the official API use from as a key, which is also a reserved words in Python.

To solve this problem, you need to use from_id instead of from.

For example,

get_trades('ethcny', from_id=123456)

Example

from yunbi import Yunbi

y = Yunbi() # Access to public API
y.get_tickers_market('ethcny') # Get ETH/CNY market's tickets

y = Yunbi('YOUR API KEY', 'YOUR SECRET KEY') # Access to public and private API
y.get_members_me() # Get your account information

License

MIT License

About

A Python wrapper for the yunbi.com api

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages