dedust-0.0.1


توضیحات

DeDust - DeDust v2 API for Python.
ویژگی مقدار
سیستم عامل -
نام فایل dedust-0.0.1
نام dedust
نسخه کتابخانه 0.0.1
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Vlad100
ایمیل نویسنده -
آدرس صفحه اصلی -
آدرس اینترنتی https://pypi.org/project/dedust/
مجوز -
# DeDust API for Python Library for connecting DeDust API to Python apps. ## Description You can get token prices, volumes and liquidity. ## Getting Started ### Dependencies * aiohttp ### Installing ``` git clone https://github.com/ClickoTON-Foundation/dedust.git pip install -e dedust ``` ### Using Example of getting data about token. ```python import asyncio from dedust.api import API from dedust.tokens import Token TOKEN = 'EQBlqsm144Dq6SjbPI4jjZvA1hqTIP3CvHovbIfW_t-SCALE' async def main(): api = API() token = Token(api, TOKEN) print(f'$SCALE price: {await token.get_price()} TON') print(f'Volume: {(await token.get_volume())[0]} TON') print(f'Liquidity: {(await token.get_liquidity())[0]} TON') if __name__ == '__main__': loop = asyncio.get_event_loop() loop.run_until_complete(main()) ``` ## Authors [@Vlad10081](https://t.me/dalvgames) ## Version History * 0.0.1 * Initial Beta ## License This project is licensed under the Apache License 2.0 - see the LICENSE.md file for details ## Donate If you liked the library, I will be glad to donate. * TON: EQCgphx8rTI0PukwmgpVqiPgqguTujhQscg2h7jgc4U0t347 ## Acknowledgments * [dedust-docs](https://api.dedust.io)


نیازمندی

مقدار نام
- aiohttp
- flask
- tox


نحوه نصب


نصب پکیج whl dedust-0.0.1:

    pip install dedust-0.0.1.whl


نصب پکیج tar.gz dedust-0.0.1:

    pip install dedust-0.0.1.tar.gz