Skip to content

Latest commit

 

History

History
130 lines (122 loc) · 6.05 KB

boxscoreusagev3.md

File metadata and controls

130 lines (122 loc) · 6.05 KB

BoxScoreUsageV3

Endpoint URL

https://stats.nba.com/stats/boxscoreusagev3

Valid URL

https://stats.nba.com/stats/boxscoreusagev3?EndPeriod=1&EndRange=0&GameID=0021700807&RangeType=0&StartPeriod=1&StartRange=0

Parameters

API Parameter Name Python Parameter Variable Pattern Required Nullable
EndPeriod end_period Y
EndRange end_range Y
GameID game_id ^\d{10}$ Y
RangeType range_type Y
StartPeriod start_period Y
StartRange start_range Y

Data Sets

PlayerStats player_stats

['gameId', 'teamId', 'teamCity', 'teamName', 'teamTricode', 'teamSlug', 'personId', 'firstName', 'familyName', 'nameI', 'playerSlug', 'position', 'comment', 'jerseyNum', 'minutes', 'usagePercentage', 'percentageFieldGoalsMade', 'percentageFieldGoalsAttempted', 'percentageThreePointersMade', 'percentageThreePointersAttempted', 'percentageFreeThrowsMade', 'percentageFreeThrowsAttempted', 'percentageReboundsOffensive', 'percentageReboundsDefensive', 'percentageReboundsTotal', 'percentageAssists', 'percentageTurnovers', 'percentageSteals', 'percentageBlocks', 'percentageBlocksAllowed', 'percentagePersonalFouls', 'percentagePersonalFoulsDrawn', 'percentagePoints']

TeamStats team_stats

['gameId', 'teamId', 'teamCity', 'teamName', 'teamTricode', 'teamSlug', 'minutes', 'usagePercentage', 'percentageFieldGoalsMade', 'percentageFieldGoalsAttempted', 'percentageThreePointersMade', 'percentageThreePointersAttempted', 'percentageFreeThrowsMade', 'percentageFreeThrowsAttempted', 'percentageReboundsOffensive', 'percentageReboundsDefensive', 'percentageReboundsTotal', 'percentageAssists', 'percentageTurnovers', 'percentageSteals', 'percentageBlocks', 'percentageBlocksAllowed', 'percentagePersonalFouls', 'percentagePersonalFoulsDrawn', 'percentagePoints']

JSON

{
    "data_sets": {
        "PlayerStats": [
            "gameId", 
            "teamId",
            "teamCity",
            "teamName",
            "teamTricode",
            "teamSlug",
            "personId",
            "firstName",
            "familyName",
            "nameI",
            "playerSlug",
            "position",
            "comment",
            "jerseyNum",
            "minutes",
            "usagePercentage",
            "percentageFieldGoalsMade",
            "percentageFieldGoalsAttempted",
            "percentageThreePointersMade",
            "percentageThreePointersAttempted",
            "percentageFreeThrowsMade",
            "percentageFreeThrowsAttempted",
            "percentageReboundsOffensive",
            "percentageReboundsDefensive",
            "percentageReboundsTotal",
            "percentageAssists",
            "percentageTurnovers",
            "percentageSteals",
            "percentageBlocks",
            "percentageBlocksAllowed",
            "percentagePersonalFouls",
            "percentagePersonalFoulsDrawn",
            "percentagePoints"
        ],
        "TeamStats": [
            "gameId", 
            "teamId", 
            "teamCity",
            "teamName",
            "teamTricode",
            "teamSlug",
            "minutes",
            "usagePercentage", 
            "percentageFieldGoalsMade", 
            "percentageFieldGoalsAttempted", 
            "percentageThreePointersMade", 
            "percentageThreePointersAttempted", 
            "percentageFreeThrowsMade", 
            "percentageFreeThrowsAttempted", 
            "percentageReboundsOffensive", 
            "percentageReboundsDefensive", 
            "percentageReboundsTotal", 
            "percentageAssists", 
            "percentageTurnovers", 
            "percentageSteals", 
            "percentageBlocks", 
            "percentageBlocksAllowed",
            "percentagePersonalFouls",
            "percentagePersonalFoulsDrawn",
            "percentagePoints"
        ]
    },
    "endpoint": "BoxScoreUsageV3",
    "last_validated_date": "2023-09-14",
    "nullable_parameters": [],
    "parameter_patterns": {
        "EndPeriod": null,
        "EndRange": null,
        "GameID": "^\\d{10}$",
        "RangeType": null,
        "StartPeriod": null,
        "StartRange": null
    },
    "parameters": [
        "EndPeriod",
        "EndRange",
        "GameID",
        "RangeType",
        "StartPeriod",
        "StartRange"
    ],
    "required_parameters": [
        "EndPeriod",
        "EndRange",
        "GameID",
        "RangeType",
        "StartPeriod",
        "StartRange"
    ],
    "status": "success"
}

Last validated 2023-09-14