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

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. `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