Project

NBA_info

0.0
No commit activity in last 3 years
No release in over 3 years
Extract and analyze NBA information from Yahoo sport and ESPN.com
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

>= 1.6.2
 Project Readme

#WebScraper HW - NBA_info

Build Status
This assignment scrapes the information and parse HTML directly from websites. It can help you to collect the imformation of NBA's games and players. ##Choice of website


First, we choose the NBA sports infomation on and scrape each game's starting lineup.
Second, we use the NBA players website to scrape the players' current season stats which user enters. ##Structure of our Code
We used `Nokogiri` to parse HTML on Ruby, then used `XPATH` to find the tag on HTML.
require 'open-uri'
require 'nokogiri'

##Usage
To run this project, you should install the gem by the following command. Then you can require the library in ruby.

gem install NBA_info

Users can enter '1' to see the starting lineup in today's game or see the highest records(PTS, REB, STL) in the final game.
Users can also enter '2' to see any players' stats in current season they enter. ##Collaborator