No description
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2023-08-26 23:17:41 -06:00
erapi Fix logic in conversion rate 2023-06-16 18:22:38 -06:00
tests Working build 2023-06-16 18:00:58 -06:00
.gitignore Working build 2023-06-16 18:00:58 -06:00
codes.csv Working build 2023-06-16 18:00:58 -06:00
poetry.lock Working build 2023-06-16 18:00:58 -06:00
pyproject.toml Update pyproject 2023-08-26 23:17:41 -06:00
README.md Update README 2023-06-16 18:03:43 -06:00

ERAPI

A very basic ExchangeRate-API wrapper for basic requests

Usage

from erapi import ERAPI

api = ERAPI("your API key here", base_currency="AUD")

api.update()
# if async
await api.update_async()

conversion_rate = api.get_conversion_rate("USD", "CAD")