exRate Hunter is a Python FastAPI application developed as part of the CoinSnark project. Its primary responsibility is to provide updated data to other APIs within the CoinSnark project, enabling them to consume data from Redis without the need to update it.
The application is tasked with consuming data from various external sources, such as the Central Bank of Brazil (BCB), Open Exchange Rates, and Exchange Rates API. These services provide relevant financial data, such as exchange rates.
Upon obtaining the data, the application consolidates it according to the specific business logic of the CoinSnark project. Subsequently, the consolidated data is written to Redis, an in-memory data store, for quick access by other parts of the project.
To utilize exRate Hunter, follow these instructions:
- Clone the repository.
- Install the dependencies listed in the
requirements.txt
file. - Configure the environment variables in the
.env
file by renaming the.env-example
file. - Execute the
main.py
file to start the FastAPI server.uvicorn app.main:app --host 0.0.0.0 --port 8000
For more information about the CoinSnark project, please refer to the documentation: CoinSnark GitBook.
Thank you for exploring exRate Hunter. If you have any questions or suggestions regarding the project, I am happy to listen. Please feel free to get in touch.