freecurrencyapi Python Client
Freecurrencyapi Python Client is the official Python Wrapper around the freecurrencyapi API.
Installation
Install from pip:
pip install freecurrencyapi
Install from code:
pip install git+https://github.com/everapihq/freecurrencyapi-python.git
Usage
All freecurrencyapi API requests are made using the Client class. This class must be initialized with your API access key string. Where is my API access key?
In your Python application, import freecurrencyapi and pass authentication information to initialize it:
import freecurrencyapi
client = freecurrencyapi.Client('API_KEY')
Retrieve Status
print(client.status())
Retrieve Currencies
https://freecurrencyapi.com/docs/currencies
result = client.currencies(currencies=['EUR', 'CAD'])
print(result)
Retrieve Latest Exchange Rates
https://freecurrencyapi.com/docs/latest
result = client.latest()
print(result)
Retrieve Historical Exchange Rates
https://freecurrencyapi.com/docs/historical
result = client.historical('2022-02-02')
print(result)
Contact us
Any feedback? Please feel free to contact our team.
Metadata
Release files for freecurrencyapi 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| freecurrencyapi-0.1.0.tar.gz | 2.5 kB | Without provenance | Details for freecurrencyapi-0.1.0.tar.gz |
Release files / freecurrencyapi-0.1.0.tar.gz
| Download URL | freecurrencyapi-0.1.0.tar.gz |
|---|---|
| Size | 2.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cd28291cf6ea51cf2c3a84d71af46b64fb6a8fbee26d19a34177a67e8f6ccbe4
|
|
BLAKE2b-256 checksum How to use checksums |
8bf6a1a9fd0f728c603c7813f96b245fb699e83f0183b4bbcb61955c5be3c354
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.3
|
Security for freecurrencyapi 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.