Skip to content

hsorsky/understat-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

understat-api

API for accessing data from understat.com

Links

  • understat.com
    • (league, season) page
      • can extract match data from page source. look for script containing vars datesData = JSON.parse
      • can similarly find player and team aggregate stats under teamsData and playersData
    • (team, season) page
    • match page
      • can extract shots data from page source. look for script containing var shotsData = JSON.parse
      • can similarly find some match stats (xG perteam, etc) and roster info under match_info and rosterData
    • player page

Core Data Structures

  • League - e.g. EPL
  • LeagueSeason - e.g. EPL 2023
  • Team - e.g. Liverpool
  • TeamSeason - e.g. Liverpool 2023
  • Match - e.g. Liverpool vs Manchester City, 2023-01-01

About

API for accessing data from understat.com

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published