Complete solution for extracting currency pair quotes data
Project description
currency-quote-wrapper: Complete solution for extracting currency pair quotes data
Project Stack
Project description
- Complete solution for extracting currency pair quotes data
Contributing
See the following docs:
Project Highlights:
-
Comprehensive Testing: Development of tests to ensure the quality and robustness of the code
-
Parameter Validation: Sending valid parameters based on the request data source itself, ensuring the integrity and accuracy of the information processed.
-
Configuration Management: Use of a configuration module to manage endpoints, retry times and number of attempts, providing flexibility and ease of adjustment.
How to use it
## Importing library
from currency_quote CurrencyQuote
# For get the last quote of one currency
client = CurrencyQuote(['USD-BRL'])
# or get quotes of multiple currencies
client = CurrencyQuote(['USD-BRL', 'EUR-BRL'])
# Get the last quote
last_quote = client.get_last_quote()
# Get history quote of currency
history_quote = client.get_history_quote(reference_date=20240626)
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
currency_quote-1.0.1.tar.gz
(4.4 kB
view details)
Built Distribution
File details
Details for the file currency_quote-1.0.1.tar.gz
.
File metadata
- Download URL: currency_quote-1.0.1.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.9.19 Linux/6.5.0-1022-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e184d9228d72827d5caa1200efc20abee23a1d6bb1ac1d6a12df15b94a8da7ad |
|
MD5 | 94ed05ca7b0acba61cdb48c84b69ed48 |
|
BLAKE2b-256 | 86c887bb6a1e179d1ad2b6f37e622c4267cbd1716a8258d6977d02a8ecb4db54 |
File details
Details for the file currency_quote-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: currency_quote-1.0.1-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.9.19 Linux/6.5.0-1022-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d541a273dc3003c535a2356f46b5e13993b090909387a94beb3cb74999521d88 |
|
MD5 | 632dfc2dae00540f5674de1235300ffa |
|
BLAKE2b-256 | 6a6a1883e036ba0d3c916761f239acf99b9b436f480280d15b74c6901b54ff81 |