This project is a web scraper that takes information about the League of Legends web page
The information this program takes is the champions and item updates of the League of Leguends game.
Every two weeks there are some patches inside the game, and this program takes some data of each patch and shows that data to the user.
This program can't access to all the patches, just can access to the last 6 of them.
This program shows an interface inside a terminal.
You need to follow the next instructions if you want to use the program
-
Run the program (The instructions of how to run the program are below, inside usage section)
-
It will show you a list with the 6 last patches of the game
-
Choose 1 of the patches that you want to see. Each patch has a number beside, so you must write the number beside the patch you want to see (write the number inside the terminal)
-
It will show you the notes of the patch you chose (Just the information about items and Champions)
-
Finally, you have the option to choose another patch to see it or finish the program.
-
If you want to see another patch, write 'yes' inside the terminal
-
If you want to finish the program just write 'no' inside the terminal
-
- Ruby
- Gems used:
- nokogiry
- rspec
- open-uri
- Gems used:
To get a local copy up and running follow these simple example steps.
- Install Ruby
- Install the next libraries
- nokogiri
- open-uri
- Install Rspec
Clone the repository on your local environment. To clone the project you need to run the following command:
- Clone with HTTPS: git clone https://github.com/LOctavio/web-scraper.git
- Clone with SSH: git clone git@github.com:LOctavio/web-scraper.git
Join to the main directory of the project inside a terminal in your OS and run 'ruby bin/main.rb'
To run the tests you need to have installed Rspec and run 'rspec' insde the main directory of the project
👤 Luis Octavio Ramirez Cruz
- Github: @LOctavio
- Twitter: @Octavio_ram431
- Linkedin: linkedin
Contributions, issues and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!
- Microverse
- Riot Games
This project is MIT licensed.