mirror of
https://gitlab.com/dword4/nhlapi
synced 2024-11-21 18:14:55 +00:00
Merge pull request #11 from esilverm/master
Fix minor spelling error and add single date modifier for schedule data
This commit is contained in:
commit
8e670dc914
@ -472,7 +472,7 @@ The first 4 digits identify the season of the game (ie. 2017 for the 2017-2018 s
|
|||||||
`GET https://statsapi.web.nhl.com/api/v1/schedule` Returns a list of data about the schedule for a specified date range. If no date range is specified, returns results from the current day.
|
`GET https://statsapi.web.nhl.com/api/v1/schedule` Returns a list of data about the schedule for a specified date range. If no date range is specified, returns results from the current day.
|
||||||
|
|
||||||
#### Modifiers
|
#### Modifiers
|
||||||
`?expand=schedule.brodcasts` Shows the broadcasts of the game
|
`?expand=schedule.broadcasts` Shows the broadcasts of the game
|
||||||
|
|
||||||
`?expand=schedule.linescore` Linescore for completed games
|
`?expand=schedule.linescore` Linescore for completed games
|
||||||
|
|
||||||
@ -480,6 +480,8 @@ The first 4 digits identify the season of the game (ie. 2017 for the 2017-2018 s
|
|||||||
|
|
||||||
`?teamId=30` Limit results to a specific team. Team ids can be found through the teams endpoint
|
`?teamId=30` Limit results to a specific team. Team ids can be found through the teams endpoint
|
||||||
|
|
||||||
|
`?date=2018-01-09` Single defined date for the search
|
||||||
|
|
||||||
`?startDate=2018-01-09` Start date for the search
|
`?startDate=2018-01-09` Start date for the search
|
||||||
|
|
||||||
`?endDate=2018-01-12` End date for the search
|
`?endDate=2018-01-12` End date for the search
|
||||||
|
Loading…
Reference in New Issue
Block a user