python wrapper for upbit API for asyncio and Python
Project description
aiopyupbit
aiopyupbit is python wrapper for upbit API for asyncio and Python which is base on pyupbit
Installation
Installing: pip install aiopyupbit
Usage
aiopyupbit syntax strives to be similar to pyupbit.
import asyncio
import aiopyupbit
async def main():
print(await aiopyupbit.get_tickers())
print(await aiopyupbit.get_current_price("KRW-BTC"))
print(await aiopyupbit.get_current_price(["KRW-BTC", "KRW-XRP"]))
print(await aiopyupbit.get_ohlcv("KRW-BTC"))
...
if __name__ == "__main__":
loop = asyncio.new_event_loop()
asyncio.set_event_loop(loop)
loop.run_until_complete(main)
About
Some features are not currently implemented:
- WebSocketManager class
Issues
Please report any issues via github issues
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
aiopyupbit-0.2.4.tar.gz
(13.4 kB
view details)
Built Distribution
File details
Details for the file aiopyupbit-0.2.4.tar.gz
.
File metadata
- Download URL: aiopyupbit-0.2.4.tar.gz
- Upload date:
- Size: 13.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 94de8904aa105d5e091a36ca7821e4088841b3200335778af44a9f246cb42229 |
|
MD5 | f1be4e06443ba590dfc3844382255faf |
|
BLAKE2b-256 | cecddd6382899c9dfbb436dcfdbac007c873996bf0451869c41e18a444bae0dd |
File details
Details for the file aiopyupbit-0.2.4-py3-none-any.whl
.
File metadata
- Download URL: aiopyupbit-0.2.4-py3-none-any.whl
- Upload date:
- Size: 13.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 34da373e4569f70a8a803e4c1e0cff9d78b59d8b711fad9506d7ece2423b568c |
|
MD5 | f2ece54ea6a4e9803ae571e094f628cf |
|
BLAKE2b-256 | 326aa7a3aba3312520d6850cd8a824331794ee88a4c3dea365f067c97ac3df3c |