1
0
mirror of https://gitlab.com/dword4/nhlapi synced 2024-12-23 09:37:34 +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:
Drew Hynes 2018-02-13 10:27:01 -05:00 committed by GitHub
commit 8e670dc914
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.
#### 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
@ -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
`?date=2018-01-09` Single defined date for the search
`?startDate=2018-01-09` Start date for the search
`?endDate=2018-01-12` End date for the search