Add the following code to your project's shard.yml under:
to use in production
- OR -
development_dependencies to use in development
A simple command line application to check current crypto price using the coingecko api.
Install crystal from the official website link.
Give a Try, clone this repository and run the following command in the terminal.
crystal run src/http_crypto_price.cr
Build and Compile with the following command.
crystal build src/http_crypto_price.cr
Once built and compiled you can run from command line using the following command.