Skip to content

Scripts get crypto currency by 2 ways#پایتون #مبدل_ارز #قیمت_بیتکوین #API_ارز #CoinGecko #Coindesk #پردازش_JSON #تبدیل_متن_به_گفتار #شهرام_ثمر #Python #CurrencyConverter #BitcoinPrice #CoinGeckoAPI #CoindeskAPI #JSONParsing #TextToSpeech #ShahramSamarProjects #Python #Währungsumrechner #BitcoinPreis #CoinGeckoAPI #CoindeskAPI #JSONVerarbeitung

License

Notifications You must be signed in to change notification settings

shahramsamar/Python_Currency_Converter_Scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python Currency Converter Scripts

A Python script that converts currencies using real-time exchange rates from an online API. This tool allows you to convert between different currencies with ease.

Features

  • Real-Time Conversion: Converts currency values based on up-to-date exchange rates.
  • Supports Multiple Currencies: Allows conversion between many commonly used currencies.
  • API Integration: Fetches exchange rates from a currency API (e.g., ExchangeRate-API).

Requirements

  • Python 3.x
  • API Key: You will need an API key from a currency exchange service (e.g., ExchangeRate-API).

Installation

  1. Clone the repository:

    git clone https://github.com/shahramsamar/Python_Currency_Converter_Scripts.git
    cd Python_Currency_Converter_Scripts
  2. Install Dependencies:

    If you're using pip, run:

    pip install -r requirements.txt
  3. Get API Key:

    Sign up for an API key at a currency exchange service provider such as ExchangeRate-API.

  4. Set up the API Key:

    In the script, replace the placeholder for the API key with your actual key.

    api_key = 'your_api_key'
  5. Run the Script:

    python converter.py

How to Use

  • The script will prompt you to enter the source currency, target currency, and the amount to convert.
  • It will then fetch the latest exchange rate and calculate the converted value.

Project Structure

  • converter.py: Main script that handles the conversion logic and interacts with the API.
  • requirements.txt: Lists necessary libraries such as requests for API calls.

Contributing

Feel free to fork the project and submit pull requests for new features, improvements, or bug fixes.

License

This project is open-source and available for educational purposes. Alt

About

Scripts get crypto currency by 2 ways#پایتون #مبدل_ارز #قیمت_بیتکوین #API_ارز #CoinGecko #Coindesk #پردازش_JSON #تبدیل_متن_به_گفتار #شهرام_ثمر #Python #CurrencyConverter #BitcoinPrice #CoinGeckoAPI #CoindeskAPI #JSONParsing #TextToSpeech #ShahramSamarProjects #Python #Währungsumrechner #BitcoinPreis #CoinGeckoAPI #CoindeskAPI #JSONVerarbeitung

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages