currency-api-py-0.1.0
توضیحات
A python async wrapper for the currency-api API
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | currency-api-py-0.1.0 |
| نام | currency-api-py |
| نسخه کتابخانه | 0.1.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Marseel Eeso |
| ایمیل نویسنده | marseeleeso@gmail.com |
| آدرس صفحه اصلی | https://github.com/Marseel-E/currency-api-py |
| آدرس اینترنتی | https://pypi.org/project/currency-api-py/ |
| مجوز | - |
# currency-api-py
A python async wrapper for the currency-api API
# Installation
```cmd
py -m pip install -U currency-api-py
:: latest (unstable)
py -m pip install git+https://github.com/Marseel-E/currency-api-py
```
# Quickstart
```py
import asyncio
from currencyApi import CurrencyApi
async def main():
async with CurrencyApi() as session:
data = await session.convert("eur", "usd")
print(data)
if __name__ = '__main__':
asyncio.run(main())
# Output (2022-04-30)
>>> 1.054463
```
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.8 | Python |
نحوه نصب
نصب پکیج whl currency-api-py-0.1.0:
pip install currency-api-py-0.1.0.whl
نصب پکیج tar.gz currency-api-py-0.1.0:
pip install currency-api-py-0.1.0.tar.gz