Webscrapper Built With Ruby
This is a simple web scrapper that basically crawls a website and retrives specific data from the site.
https://coinmarketcap.com/ which is a website that provides information on different cryptocurrencies and we will be retrieving the following data:
For this particular project, we will be scrapping- Name of the cyrptocurrency
- Market Capitalization
- Price
- Volume
- Circulating supply
- Change(%)
Built With
- Ruby
- Nokogiri gem
- Open-uri gem
Prerequisites
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
Getting started
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.
Testing
For testing RSpec is used. To run test run the following command line.
rspec
Author
- Github: @ebeagusamuel
- Twitter: @ebeagu_samuel
- Linkedin: linkedin
🤝 Contributing
Contributions, issues and feature requests are welcome!
Feel free to check the issues page.
Show your support
Give a
📝 License
This project is MIT licensed.