API for NCAA 2011/12 Basketball Team and Player Statistics

I am looking for an existing API or method to get the NCAA Men Basketball player and team statistics. I was unable to find anything that is easy to use or update. Are there any suggestions?

+4
source share
2 answers

I was unable to find an API to provide NCAA Mens basketball data. I hacked the following service, which parses data from http://stats.ncaa.org/ .

Examples: http://ncaa-data-api.appspot.com/

The following services are available.

  • Get all Division 1 teams in JSON format
  • Get all the players in the team in JSON format.
  • Get statistics for the specified player in JSON format.
  • Get the schedule for the team in JSON format.
+2
source

I found two interfaces for data.ncaa.com that look more accurate and reliable than ncaa-data-api.appspot.com and contain more data. The following are two examples. Replace basketball with your favorite sport, and change the date, game information, and the name "callback" ... which is actually a shortcut to the data feed.

Individual game detail: http://data.ncaa.com/jsonp/game/basketball-men/d1/2015/04/06/wisconsin-duke/boxscore.json?callback=ncaaGameTabs.drawTab

A daily list of games, including scheduled, unfinished, and completed games: http://data.ncaa.com/jsonp/scoreboard/basketball-men/d1/2016/01/23/scoreboard.html

When I tried to use ncaa-data-api.appspot.com, I ran into problems of missing teams, the leaving flag was used in both teams if the site was neutral, creating a problem with duplicate data that needs to be filtered, and duplicate data in one channel when multiple calls to the same api function. Each call resulted in the data feed adding a different data set.

0
source

Source: https://habr.com/ru/post/1397475/


All Articles