Coder Social home page Coder Social logo

ndleah / currency-converter Goto Github PK

View Code? Open in Web Editor NEW
5.0 2.0 1.0 230 KB

๐Ÿ’ฑ A program that will perform currency conversion using data fetched from an open-source API

Python 100.00%
python web-scraping unit-testing currency-converter api-rest

currency-converter's Introduction

Star Badge Open Source Love View My Profile View Repositories

Currency Converter

The app is built for performing currency conversion using data fetched from an open-source API: https://www.frankfurter.app/.

โš™๏ธ Usage

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

๐ŸŽ’ Package Dependencies

import requests

๐Ÿ—๏ธ Structure

โ”œโ”€โ”€ 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

โœจ Contribution

Contributions, issues, and feature requests are welcome!

To contribute to this project, see the GitHub documentation on creating a pull request.

๐Ÿ‘ Support

Give a โญ๏ธ if you like this project!

๐Ÿ‘ฉโ€๐Ÿ’ป Author

Leah Nguyen


ยฉ 2021 Leah Nguyen

currency-converter's People

Contributors

ndleah avatar shrutisolani avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

shrutisolani

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.