An open API service indexing awesome lists of open source software.

https://github.com/belsman/ruby-capstone

This project entails building a program that crawls daily data about COVID-19 from a website and displays it in the terminal. Built with Ruby.
https://github.com/belsman/ruby-capstone

microverse-projects ruby web-scraping

Last synced: about 1 year ago
JSON representation

This project entails building a program that crawls daily data about COVID-19 from a website and displays it in the terminal. Built with Ruby.

Awesome Lists containing this project

README

          

![](https://img.shields.io/badge/Microverse-blueviolet)

# CovidWebSpider
## A CLI-Program for getting information about COVID-19 CASES

> This project about building a Web crawler Program that extracts COVID-19 data from a web page and presents it to a user via the Command-line interface. A user gets to see updates on COVID-19 data reported worldwide and on a country and region wise. [Read this to learn more about what a web crawler is.](https://en.wikipedia.org/wiki/Web_crawler)

![screenshot](./image/screenshot.png)

## Built With

- Ruby 2.6x
- Other tools
- [Nokogiri](https://nokogiri.org/)
- [Rubocop](https://github.com/rubocop-hq/rubocop)
- [Terminal Table](https://github.com/tj/terminal-table)
- [Rspec](https://rspec.info/)

## Getting Started

To get a local copy up and running follow these simple example steps.

### Prerequisites

You need Ruby runtime inorder to have this run on your Machine

### Install

1) Install Ruby if you don't have it
2) Open the Terminal
3) Run

```sh
git clone https://github.com/belsman/Ruby-Capstone.git
```

4) Run 'cd Ruby-Capstone' to enter the main directory
5) Run 'bundle install'

### Run Rspec

1) Open the terminal
2) Run ```cd Ruby-Capstone``` to enter main directory
3) Ensure there is network connnection
4) Run ```rspec```
5) '100% passing' tests mean you are ready to go

### Usage

1) Open the terminal
2) Run ```cd Ruby-Capstone``` to enter main directory
3) Run ```cd bin``` to enter file directory
4) Be sure you're connected to the internet
4) Run ```ruby main``` to start the Program
5) Here on you can see the COVID-19 data for every region and country

## Author

👤 **Bello Babakolo**

- Github: [@belsman](https://github.com/belsman)
- Twitter: [@d_belsman](https://twitter.com/d_belsman)
- Linkdin: [Bello Babakolo](https://www.linkedin.com/in/bello-babakolo-b23b17145/)

## 🤝 Contributing

Contributions, issues and feature requests are welcome!

Feel free to check the [issues page](issues/).

## Show your support

Give a ⭐️ if you like this project!

## Acknowledgments

- Microverse for showing the way for this project to happen
- The Odin Project.