Upbit API
Project description
upbit.py
Upbit API (업비트 API)
Install
pip install upbit.py
Example
Quotation
from upbit import Client
client = Client()
print(client.get_markets())
Exchange
from upbit import Client
client = Client('access_key', 'secret_key')
print(client.get_accounts())
WebSocket
from upbit import WebSocket
class WS(WebSocket):
async def on_connect(self):
print('connect')
await self.send_field()
async def on_disconnect(self):
print('disconnect')
async def on_data(self, data: dict):
print(data)
WS().run()
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
upbit.py-1.0.2-fix.tar.gz
(6.3 kB
view hashes)