Skip to content

yaswanthteja/Currency_Xchange

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Star Badge Open Source Love View Repositories View My Profile

Currency Xchange

Currency Xchange is a user-friendly and efficient currency converter application that allows users to convert between different currencies effortlessly. With real-time exchange rate data sourced from reputable APIs, Currency Xchange provides accurate and up-to-date conversion rates for currencies worldwide—experience hassle-free currency conversions on the go with Currency Xchange.

The app is built for performing currency conversion using data fetched from an

🛠️ Installation Steps

  • Install python
pip install requests

⚙️ Usage

In the project directory, you can run:

python main.py  EUR  INR

Here we need to mention the currency codes

    "AUD": "Australian Dollar",
    "BGN": "Bulgarian Lev",
    "BRL": "Brazilian Real",
    "CAD": "Canadian Dollar",
    "CHF": "Swiss Franc",
    "CNY": "Chinese Renminbi Yuan",
    "CZK": "Czech Koruna",
    "DKK": "Danish Krone",
    "EUR": "Euro",
    "GBP": "British Pound",
    "HKD": "Hong Kong Dollar",
    "HUF": "Hungarian Forint",
    "IDR": "Indonesian Rupiah",
    "ILS": "Israeli New Sheqel",
    "INR": "Indian Rupee",
    "ISK": "Icelandic Króna",
    "JPY": "Japanese Yen",
    "KRW": "South Korean Won",
    "MXN": "Mexican Peso",
    "MYR": "Malaysian Ringgit",
    "NOK": "Norwegian Krone",
    "NZD": "New Zealand Dollar",
    "PHP": "Philippine Peso",
    "PLN": "Polish Złoty",
    "RON": "Romanian Leu",
    "SEK": "Swedish Krona",
    "SGD": "Singapore Dollar",
    "THB": "Thai Baht",
    "TRY": "Turkish Lira",
    "USD": "United States Dollar",
    "ZAR": "South African Rand"

🏗️ Project Structure

├── api.py             <- script contains the code for calling API endpoints 
├── currency.py        <- contains the code for checking if the currency code is valid,  storing results, and formatting the final output
├── main.py            <- main program used for entering the input parameters  (currency codes) and displaying the results
├── 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!