1
0
mirror of https://gitlab.com/dword4/nhlapi synced 2024-11-21 18:14:55 +00:00

Merge branch 'patch-1' into 'master'

ENH: Expand /schedule modifiers

See merge request dword4/nhlapi!25
This commit is contained in:
Drew Hynes 2019-12-17 15:05:18 +00:00
commit 47e3220ceb

View File

@ -945,7 +945,7 @@ Without any flags or modifiers this endpoint will NOT return pre-season games th
`?expand=schedule.ticket` Provides the different places to buy tickets for the upcoming games `?expand=schedule.ticket` Provides the different places to buy tickets for the upcoming games
`?teamId=30` Limit results to a specific team. Team ids can be found through the teams endpoint `?teamId=30,17` Limit results to a specific team(s). Team ids can be found through the teams endpoint
`?date=2018-01-09` Single defined date for the search `?date=2018-01-09` Single defined date for the search
@ -953,6 +953,10 @@ Without any flags or modifiers this endpoint will NOT return pre-season games th
`?endDate=2018-01-12` End date for the search `?endDate=2018-01-12` End date for the search
`?season=20172018` Returns all games from specified season
`?gameType=R` Restricts results to only regular season games. Can be set to any value from [Game Types](#game-types) endpoint
`GET https://statsapi.web.nhl.com/api/v1/schedule?teamId=30` Returns Minnesota Wild games for the current day. `GET https://statsapi.web.nhl.com/api/v1/schedule?teamId=30` Returns Minnesota Wild games for the current day.
``` ```