CLI Data Gem Portfolio Project - Check daily scores across leagues and display game scores
This application scrapes data from https://www.scorespro.com/ and presents list of available countries. Upon country selection you can see a list of leagues played in that country and check scores for the specific league.
- Navigate to daily_scores folder in your terminal
$ cd daily_scores
- Run bundle commmand
$ bundle
- Navigate to bin directory
$ cd bin
- Run daily scores app
$ ruby daily_scores
- Welcome to Daily Scores! You can check daily Soccer scores from most Soccer leagues in the world, based on https://www.scorespro.com/.
- Select a country from a list of countries by entering corresponding country number.
1. England
2. Spain
3. Germany
...Enter 1 to select England
- Type start to reload list of countries or exit to exit
- Based on the selection, you will receive a list of leagues played in the country
- Select a league you would look to see a results for or type back to go back to main menu
After checking out the repo, run bin/setup
to install dependencies. Then, run rake spec
to run the tests. You can also run bin/console
for an interactive prompt that will allow you to experiment.
To install this gem onto your local machine, run bundle exec rake install
. To release a new version, update the version number in version.rb
, and then run bundle exec rake release
, which will create a git tag for the version, push git commits and tags, and push the .gem
file to rubygems.org.
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/daily_scores. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.
The gem is available as open source under the terms of the MIT License.
Everyone interacting in the DailyScores project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.