This is a responsive currency converter app Currency Converter Overview The Currency Converter is a simple and user-friendly application designed to convert amounts from one currency to another using real-time exchange rates. This tool is perfect for travelers, businesses, and anyone who needs to handle multiple currencies with ease.
Features Real-Time Exchange Rates: The converter fetches up-to-date exchange rates to ensure accurate conversions. Wide Range of Currencies: Supports a comprehensive list of world currencies. User-Friendly Interface: Easy-to-use design for quick and efficient currency conversion. Historical Data: Access past exchange rates for financial analysis and comparison. Offline Mode: Convert currencies using the most recent available rates even without an internet connection. API Integration: Easily integrate the converter with other applications through our robust API. Installation Prerequisites Python 3.x Pip (Python package installer) Steps Clone the repository:
sh Copy code git clone https://github.com/Kumaraniketank/currency-converter.git cd currency-converter Install the required packages:
sh Copy code pip install -r requirements.txt Set up the API keys (if needed):
Register for an API key at your preferred currency exchange rate provider. Create a .env file in the root directory of the project and add your API key:
Endpoint GET /api/convert Parameters amount (required): The amount of money to convert. from_currency (required): The currency code of the source currency (e.g., USD). to_currency (required): The currency code of the target currency (e.g., EUR). Example Request sh Copy code curl -X GET "https://cdn.jsdelivr.net/npm/@fawazahmed0/currency-api@latest/v1/currencies/{endpoints}" Example Response json Copy code { "amount": 100, "from_currency": "USD", "to_currency": "EUR", "converted_amount": 85.50, "rate": 0.855 } Contributing We welcome contributions to enhance the functionality and features of the Currency Converter. Please follow these steps:
Fork the repository. Create a new branch (git checkout -b feature-branch). Make your changes. Commit your changes (git commit -am 'Add new feature'). Push to the branch (git push origin feature-branch). Create a new Pull Request. License This project is licensed under the MIT License. See the LICENSE file for details.
Contact If you have any questions, feel free to open an issue or contact the project maintainer at kumaraniket128@gmail.com.