The MLB stats lookup uses an API (Application Programming Interface) to retrieve data about teams and players. The application retrieves the information from the API and stores it in a local database. You can use this to look up specific statistics or to compare player and team information.
Video demonstration: https://youtu.be/kz5A2_9e84Q
This application is using Ruby v.2.6.1
This application is using the following Gemfiles:
- "sinatra-activerecord"
- "sqlite3"
- "require_all"
- "rake"
- "pry"
- git clone https://github.com/Drothschild89/Riley-Dustin-Project.git
- In console type: bundle install
- In console type: rake db:migrate
- In console type: ruby bin/run.rb
- Follow prompts in console
- 'Player info' to see information on a player
- 'Compare players' to compare two players' information
- 'Batting average' to see a batter's batting average
- 'Pitching ERA' to see a pitcher's earned runs average
- 'Delete player' to delete a player from the local database
- 'Team info' to see information on a team
- 'Compare teams' to compare two teams' information
- 'Display team players' to display all players on a team in 2017
- 'Delete team' to delete a team from the local database
- 'exit' to exit out of the program
This application was created by:
- Riley Iverson of Seattle, Washington - rmiverson99@gmail.com
- Dustin Rothschild of San Jose, California - Drothschild89@gmail.com