Skip to main content

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


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)

Uploaded Source

Built Distribution

altinkaynak-0.0.2-py3-none-any.whl (4.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page