Skip to main content

Upbit API

Project description

upbit.py

PyPi

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):
        await self.send_field()

    async def on_response(self, response: dict):
        print(response)

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.1.tar.gz (6.3 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page