Skip to content

zusldev/rust_crypto

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cryptocurrency Price Checker

This is a simple command-line program in Rust that allows you to check the current price of any cryptocurrency. It uses the CoinGecko API to retrieve the price information.

Usage

Clone the repository to your local machine. Make sure you have Rust installed on your system. If not, you can download and install it from the official Rust website. Open a terminal window and navigate to the directory where the code is saved. Run the program by typing cargo run in the terminal. Enter the name of the cryptocurrency you want to check. You can enter the name in any case, and you can also use spaces instead of hyphens (e.g., "bitcoin cash" instead of "bitcoin-cash"). The program will retrieve the price information from the API and display it on the screen.

Example

Escribe el nombre de la criptomoneda que quieres buscar o escribe 'exit' para salir
----------------------------------------------------
Ejemplo de solicitud: ✅bitcoin, ✅ethereum, ✅dogecoin, etc.
puedes buscar con espacios, por ejemplo: ✅bitcoin cash
----------------------------------------------------

⌛ Buscando información sobre bitcoin cash ⌛

----------****************************--------------
El precio de bitcoin cash es $123.46 USD 💰
----------****************************--------------

Escribe el nombre de la criptomoneda que quieres buscar o escribe 'exit' para salir
----------------------------------------------------
Ejemplo de solicitud: ✅bitcoin, ✅ethereum, ✅dogecoin, etc.
puedes buscar con espacios, por ejemplo: ✅bitcoin cash
----------------------------------------------------
exit
¡Hasta luego! 🚀  

About

Get the price of any cryptocurrency

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages