Skip to content

luisbotteri/python-currency-conversion

Repository files navigation

💱 ARS ↔ EUR ↔ USD Currency Converter

Python API

A Python program to convert between Argentine Pesos (ARS), Euros (EUR), and US Dollars (USD) using real-time exchange rates.

🚀 Features

  • Fetches up-to-date exchange rates from ExchangeRate-API.
  • Available conversions:
    • ARS → EUR / USD
    • EUR → ARS
    • USD → ARS
  • Interactive terminal interface.
  • Default fallback values if API fetch fails.

⚙️ Requirements

  • Python 3.6+
  • requests library:
    pip install requests

🛠️ Setup

  • Clone the repository:
    git clone [https://github.com/luisbotteri/python-conversion-monedas](https://github.com/luisbotteri/python-conversion-monedas)
  • (Optional) Replace API_KEY in the code with your own ExchangeRate-API key.

📟 Usage

  • Run the script:
    python conversor_monedas.py
  • Follow the interactive menu:
    1. ARS → EUR
    2. ARS → USD
    3. EUR → ARS
    4. USD → ARS

📜 Example

  • Choose option: 1
  • Enter amount in ARS: 1000
  • Result: 0.87 EUR

📄 License

This project is under the MIT License. Free to learn from, modify, and share.

✨ Liked the project? Give it a ⭐ on GitHub!


💱 Conversor de Monedas ARS ↔ EUR ↔ USD

Python
API

Programa en Python para convertir entre Pesos Argentinos (ARS), Euros (EUR) y Dólares (USD) usando tasas de cambio en tiempo real.

🚀 Características

  • Consulta tasas actualizadas desde ExchangeRate-API.
  • Conversiones disponibles:
    • ARS → EUR / USD
    • EUR → ARS
    • USD → ARS
  • Interfaz interactiva en terminal.
  • Valores por defecto si la API falla.

⚙️ Requisitos

  • Python 3.6+
  • Biblioteca requests:
    pip install requests
    

🛠️ Configuración

📟 Uso

-Ejecuta el script: python conversor_monedas.py

  • Sigue el menú interactivo:
  1. ARS → EUR
  2. ARS → USD
  3. EUR → ARS
  4. USD → ARS

📜 Ejemplo

  • Elige opción: 1
  • Ingresa cantidad en ARS: 1000
  • Resultado: 0.87 EUR

📄 Licencia

Este proyecto está bajo la licencia MIT. Libre para aprender, modificar y compartir.

✨ ¿Te gustó el proyecto? ¡Déja una ⭐ en GitHub!