Learn how to call a public REST API from Python
Use as a starting point for a multi-coin price tracker
Adapt the script to print prices in a different currency
Wrap the script in a cron job that logs prices to a file
README does not mention that the requests library must be installed first via pip.
This repository is a very small Python beginner exercise that prints the current dollar price of a single cryptocurrency. There is no project documentation, no setup notes, and no usage guide. The README itself is just the source code of the script, with one short comment, which is enough to see what the program does end to end. The script asks the user to type a coin name at the prompt, with bitcoin given as the example. It then builds a URL pointing at the CoinGecko simple price endpoint, filling in the coin name and asking for the price in US dollars. It sends an HTTP GET request to that URL using the requests library, reads the response back as JSON, and pulls out the dollar price for the chosen coin. The final line prints the coin name in uppercase followed by the price prefixed with a dollar sign. There is no loop, no error handling for typos, no caching, no formatting beyond the simple print line, and no menu of supported coins. If the user types a name that CoinGecko does not recognize, the script will fail when it tries to read the missing key from the response. The project depends on the requests library being installed on the user's machine, which the README does not mention. Python 3 is implied. There is no license file referenced and no test suite. The repository name, Crypto-Price-Checker, accurately describes the entire scope of the code. The README is sparse, and that matters here. There is no contributor guide, no roadmap, no install command, and no description of how to extend the script to support a different currency, multiple coins at once, or a recurring price check. The repository works best as a small reference for someone learning how to call a public REST API from Python.
Generated 2026-05-22 · Model: sonnet-4-6 · Verify against the repo before relying on details.