A clean, light-weight Python Command Line Interface (CLI) application that fetches live prices for Bitcoin, Ethereum, and Cardano using the CoinGecko API and converts user-specified quantities into USD and PKR.
- Real-Time Data: Fetches live market prices directly via REST API.
- Dual Fiat Currency: Supports both USD ($) and PKR (Rs) conversions.
- Error Protection: Built-in try-except blocks to gracefully handle network issues.
- Interactive Menu Loop: Simple terminal-based choice menu with clean number formatting.
- Clone this repository:
git clone https://github.com/FarazAliID/crypto-currency-converter-cli.git cd crypto-currency-converter-cli pip install -r requirements.txt python main.py
==== SAMPLE OUTPUT ====
=== Crypto & Fiat Currency Converter CLI ===
- Bitcoin USD & PKR Converter
- Ethereum USD & PKR Converter
- Cardano USD & PKR Converter
- Exit
Select The Option Between (1 & 4) : 1 Put Your Coins To Calculate Bitcoin Currency In USD & PKR: 0.5
Coin Price USD is 62500.0 X User 0.5 == $31,250.00 Coin Price PKR is 17400000.0 X User 0.5 == Rs 8,700,000.00
=== Crypto & Fiat Currency Converter CLI ===
- Bitcoin USD & PKR Converter
- Ethereum USD & PKR Converter
- Cardano USD & PKR Converter
- Exit
Select The Option Between (1 & 4) : 4 Thank you for using Crypto Converter!