Get currency rates from the source altinkaynak.com
Project description
Altinkaynak
This package is used for fetching altinkaynak.com rates based on TRY currency. To use it, simpy do that;
from altinkaynak import Altinkaynak
altin = Altinkaynak()
#Get all rates based on TRY currrency
altin.get_try_currencies()
#Or how much unit EUR cost equal to 1 unit USD
altin.get_rate("USD","EUR")
#Or other provided rates
altin.get_rate("AFG","TRY")
Changelog
- When you call get_try_currencies() and get_rate() functions, they return currency date as string (eg; 2022-00-00T00:00:00.000Z), not timezone aware datetime object. It is because of the python version compatibility issues.
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
altinkaynak-0.0.2.tar.gz
(4.0 kB
view hashes)
Built Distribution
Close
Hashes for altinkaynak-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f9a68428499dfffb23060262c5ae5786f63c364854b4fbe83c412a370a98c273 |
|
MD5 | f66a4740610f30f3d4044bbbc154bc8f |
|
BLAKE2b-256 | eea80789d509c8e91958887270aa6cfed7cd07f2a159082c69d7d41226770dc2 |