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 details)
Built Distribution
File details
Details for the file altinkaynak-0.0.2.tar.gz
.
File metadata
- Download URL: altinkaynak-0.0.2.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e7f9f3b1d0dc055bf7bd97e3abab0bfa07e3ffc54d7f527d79af624488eef467 |
|
MD5 | 3956ca9d4d376c8cc5c6daaf8e72d04e |
|
BLAKE2b-256 | a49078c26af912bcd8ada9d913536ab805e2e4aeea174a3bc9a63cedc541d139 |
File details
Details for the file altinkaynak-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: altinkaynak-0.0.2-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f9a68428499dfffb23060262c5ae5786f63c364854b4fbe83c412a370a98c273 |
|
MD5 | f66a4740610f30f3d4044bbbc154bc8f |
|
BLAKE2b-256 | eea80789d509c8e91958887270aa6cfed7cd07f2a159082c69d7d41226770dc2 |