The app is built for performing currency conversion using data fetched from an open-source API: https://www.frankfurter.app/.
In the project directory, you can run:
python main.py AUD EUR
If you are using Pipenv
, then you can run:
pipenv python main.py AUD EUR
import requests
โโโ api.py <- script contains the code for calling API endpoints
โโโ currency.py <- contains the code for checking if currency code is valid, store results and format final output
โโโ main.py <- main program used for entering the input parameters (currency codes) and display the results
โโโ Pipfile <- contain information for the dependencies of the project
โโโ Pipfile.lock <- specify, based on the packages present in Pipfile
โโโ README.md <- a markdown file containing student details, a description of this project, listing of all Python functions and classes and instructions for running the code
โโโ test_api.py <- python script for testing code from api.py
โโโ test_currency.py <- python script for testing code from currency.py
Contributions, issues, and feature requests are welcome!
To contribute to this project, see the GitHub documentation on creating a pull request.
Give a โญ๏ธ if you like this project!
Leah Nguyen
ยฉ 2021 Leah Nguyen