This is a simple web scrapper that basically crawls a website and retrives specific data from the site.
For this particular project, we will be scrapping https://coinmarketcap.com/ which is a website that provides information on different cryptocurrencies and we will be retrieving the following data:
- Name of the cyrptocurrency
- Market Capitalization
- Price
- Volume
- Circulating supply
- Change(%)
- Ruby
- Nokogiri gem
- Open-uri gem
Since all the code is written using ruby Ruby Runtime >= 1.9
ruby is required to interpret the code. if you don't have ruby runtime installed on your computer follow the instruction for your specific operating system on the official installation guide
To get a local copy up and running follow these simple example steps.
- Clone or download this repository to your local workstation.
- enter the directory of the cloned project
- run bin/controller.rb to execute the scrapper script and print out the data retrieved to the console.
For testing RSpec is used. To run test run the following command line.
rspec
👤 Ebeagu Samuel
- Github: @ebeagusamuel
- Twitter: @ebeagu_samuel
- Linkedin: linkedin
Contributions, issues and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!
This project is MIT licensed.