――Please use at your own risk. --If you have any problems, please pull request.
――Various information was released, so I wanted to try it. ――I wanted to understand the business of currency trading.
~~ github page ~~ github page (moved here from 2017/04) / zaifapi), but also here
from zaifapi.impl import ZaifPublicApi, ZaifPrivateApi
#Get the closing price of Bitcoin and Japanese Yen
zaif = ZaifPublicApi()
print(zaif.last_price('btc_jpy'))
#Get account information such as balance
zaif = ZaifTradeApi(key, secret)
print(zaif.get_info())
All public APIs can be called.
--After all requests is convenient -cerberus was a nice touch ――My source is Java-like
Recommended Posts