A python async wrapper for the currency-api API
Project description
currency-api-py
A python async wrapper for the currency-api API
Installation
py -m pip install -U currency-api-py
:: latest (unstable)
py -m pip install git+https://github.com/Marseel-E/currency-api-py
Quickstart
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
currency-api-py-0.1.0.tar.gz
(3.3 kB
view hashes)
Built Distribution
Close
Hashes for currency_api_py-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 32125470eaba216ef0cb9d84f8d5f2e2d743c15b2964b626ad0f3fee6fd3b19f |
|
MD5 | 0821858631dadd80a5637bb48645cf6b |
|
BLAKE2b-256 | 29b0f758debfa3a0f98f0d468109db1cfa7e1f55010b5d17585a2984580e4ae8 |