This is a simple scraper made entirely on Javascript to get the prices of the top 10 crypto coins listed on CoinMarketCap
For this project I used Node.js and the following libraries:
- Axios
- Express
- Cheerio
Just copy the content of the repository in a folder in your computer, open a terminal at that folder and run
node index.js
After that just open your browser, go to "http://localhost:3000/api/price-feed" and you will see the information in a JSON format, ready to be picked up by any front end interface 🎩