Closed whichen closed 5 years ago
https://github.com/swar/nba_api/blob/master/analysis_archive/stats/analysis.json
Ctrl+F will help locate the fields that you need in each endpoint that it exists in.
BoxScoreSummaryV2
-> InactivePlayers
and Officials
Datasets
InfographicFanDuelPlayer
-> FanDuelPlayer
Dataset
However, it looks like there is a JERSEY field as well
CommonPlayerInfo
-> CommonPlayerInfo
Dataset
TeamDetails
-> TeamHof
and TeamRetired
Datasets
And it looks like there is a NUM field as well
CommonTeamRoster
-> CommonTeamRoster
Dataset.
I would refer to CommonTeamRoster and then cycle through all the Teams. That'll probably be the quickest approach as opposed to filter through all GameIDs or PlayerIDs.
https://github.com/swar/nba_api/blob/master/analysis_archive/stats/analysis.json
Ctrl+F will help locate the fields that you need in each endpoint that it exists in.
BoxScoreSummaryV2
->InactivePlayers
andOfficials
DatasetsInfographicFanDuelPlayer
->FanDuelPlayer
DatasetHowever, it looks like there is a JERSEY field as well
CommonPlayerInfo
->CommonPlayerInfo
DatasetTeamDetails
->TeamHof
andTeamRetired
DatasetsAnd it looks like there is a NUM field as well
CommonTeamRoster
->CommonTeamRoster
Dataset.I would refer to CommonTeamRoster and then cycle through all the Teams. That'll probably be the quickest approach as opposed to filter through all GameIDs or PlayerIDs.
Thank you, Swar.
I want to get player's current team and his JERSER_NUM. I can only find JERSERY_NUM in infographicfanduelplayer, but I also need to provide a game_id to get it. Is there a easier way?