GETGame Schedule
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| type | query | string | No | games by type (one of BASKETBALL, FOOTBALL - default: BASKETBALL) |
| from | query | number | Yes | starting event scheduled timestamp; epoch UTC milliseconds |
| to | query | number | No | ending event schedule timestamp; epoch UTC milliseconds; if not provided the search range starting from the 'from' parameter will default to 1 day |
| team_id | query | number | No | ID of the team |
| location_id | query | string | No | composite location ID that consists of the court ID and facility ID separated by @ |
| seasonType | query | string | No | games by season type (one of EXH, PRE, REG, POST - default: REG); applied in combination with weekNumber |
| weekNumber | query | number | No | specific week during a season |
Responses
- 200OK
{ "games": [ { "event_id": "062a3726-3b0f-11eb-86c4-02420043683b", "facility_name": "ShotTracker Lab", "court_name": "main court", "location_id": "6e4118d4-2e50-11e6-b4a4-deecc6e6f586@6e4118d4-2e50-11e6-b4a4-deecc6e6f581", "tournament": null, "tipoff_at": 1604052000000, "gender": "MEN", "status": "ACTIVE", "type": "BASKETBALL", "home_team_id": 481, "home_team_name": "ShotTrackerW", "home_team_reference_id": "938104592", "away_team_id": 493, "away_team_name": "BWB", "away_team_reference_id": "938104593", "officials_team_id": 0, "_results": "https://api.shottracker.com/v1/data/games/cf3ba789-06c4-11e8-bb65-0242286dfad2", "reference_id": "938104592", "fan_engagement_enabled": false, "source": "SHOTTRACKER" } ] }