Skip to main content

Upbit API

Project description

upbit.py

PyPi

Upbit API (업비트 API)

Install

pip install upbit.py

Example

Quotation

import upbit

print(upbit.get_markets())

Exchange

import upbit

client = upbit.Client('your_access_key', 'your_secret_key')
print(client.get_accounts())

WebSocket

import upbit

class WS(upbit.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.3.tar.gz (6.4 kB view details)

Uploaded Source

File details

Details for the file upbit.py-1.0.3.tar.gz.

File metadata

  • Download URL: upbit.py-1.0.3.tar.gz
  • Upload date:
  • Size: 6.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.21.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1

File hashes

Hashes for upbit.py-1.0.3.tar.gz
Algorithm Hash digest
SHA256 e6c823c8a5fdc4285d8c4facd3ba67cc75509cdd6df4d3db23544f4043c63ff2
MD5 7d456f6bf6c40991511bf7e83a69f364
BLAKE2b-256 18c974177e39e053ab7863f4132df9e5859211d1a2a4dedc6bd4a5bc36588e57

See more details on using hashes here.

Supported by

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