mirror of
https://gitlab.com/dword4/nhlapi.git
synced 2025-10-22 07:28:05 +00:00
Update stats with venues endpoint, fix typo in records
This commit is contained in:

committed by
Drew Hynes

parent
042eaa5956
commit
7a6c2ead51
20
stats-api.md
20
stats-api.md
@@ -29,6 +29,8 @@
|
||||
|
||||
[Awards](#awards)
|
||||
|
||||
[Venues](#venues)
|
||||
|
||||
---
|
||||
|
||||
### <a name="teams"></a>Teams
|
||||
@@ -1149,3 +1151,21 @@ Ex:
|
||||
}]
|
||||
}
|
||||
```
|
||||
|
||||
### <a name="venues">Venues
|
||||
|
||||
`GET https://statsapi.web.nhl.com/api/v1/venues` Get all NHL Venues in API database.
|
||||
|
||||
`GET https://statsapi.web.nhl.com/api/v1/venues/ID` Get an NHL Venue.
|
||||
|
||||
```json
|
||||
{
|
||||
"copyright" : "NHL and the NHL Shield are registered trademarks of the National Hockey League. NHL and NHL team marks are the property of the NHL and its teams. © NHL 2019. All Rights Reserved.",
|
||||
"venues" : [ {
|
||||
"id" : 5064,
|
||||
"name" : "Pepsi Center",
|
||||
"link" : "/api/v1/venues/5064",
|
||||
"appEnabled" : true
|
||||
} ]
|
||||
}
|
||||
```
|
||||
|
Reference in New Issue
Block a user