mirror of https://gitlab.com/dword4/nhlapi
Compare commits
12 Commits
31be5b4204
...
b9ad313839
Author | SHA1 | Date |
---|---|---|
Drew Hynes | b9ad313839 | |
Drew Hynes | 8d9129517c | |
Drew Hynes | 2aa1a1e9d0 | |
Zach Edwards | 910b849e31 | |
Leo Lewis | 2e9d02d63b | |
Drew Hynes | f810e66f55 | |
Drew Hynes | 0944d424fd | |
Drew Hynes | 9793c2ecd2 | |
Drew Hynes | e669b084ec | |
Drew Hynes | 8679695402 | |
Drew Hynes | f5baf6d765 | |
Drew Hynes | 1b42b5d55c |
|
@ -4,7 +4,10 @@ pages:
|
|||
stage: deploy
|
||||
script:
|
||||
- npm install -g redoc-cli
|
||||
- redoc-cli build public/index.html swagger/openapi.yaml
|
||||
- redoc-cli build swagger/openapi.yaml
|
||||
- cp redoc-static.html public/index.html
|
||||
artifacts:
|
||||
paths:
|
||||
- public
|
||||
- public/
|
||||
environment:
|
||||
name: pages
|
||||
|
|
|
@ -22,6 +22,7 @@ documentation including examples in multiple common langages (such as using Swag
|
|||
|[misc.md](misc.md)|Random things the NHL API uses or is somehow related to|
|
||||
|[records-api.md](records-api.md)|Documentation on the API for records.nhl.com|
|
||||
|[stats-api.md](stats-api.md)|The one, the only NHL API (stats) documentation!|
|
||||
|[new-api.md](new-api.md)|New 2023 NHL API (stats) documentation|
|
||||
|
||||
|
||||
## Contributing
|
||||
|
|
|
@ -61,3 +61,9 @@ Description: A (WIP) GraphQL server wrapping the documented endpoints of this pr
|
|||
Code: https://github.com/Rblock919/open-hockey-api
|
||||
|
||||
Author: [rblock919](https://github.com/Rblock919)
|
||||
|
||||
## rotorink
|
||||
|
||||
Description: Social Media Hockey application built with Nuxt 3 and Prisma complete with user authentication.
|
||||
|
||||
Code: https://github.com/edwardz8/nuxt3-zero
|
||||
|
|
69
new-api.md
69
new-api.md
|
@ -632,6 +632,75 @@ The NHL has surprised us all with a new API, so that means a new file to track a
|
|||
|
||||
`GET https://api-web.nhle.com/v1/player/PLAYER_ID/landing` | Player specific stats
|
||||
|
||||
`GET https://api.nhle.com/stats/rest/en/` | Base stats URL
|
||||
|
||||
`/config` | Stats configuration options. For each stat option and report type, this endpoint describes the default configuration of the columns, filters and sorting. <br>
|
||||
`/franchise?` | Franchise info <br>
|
||||
`/country?` | Country info <br>
|
||||
`/season?` | Season info <br>
|
||||
`/draft?` | Draft info <br>
|
||||
|
||||
## Skater Stats
|
||||
|
||||
`GET https://api.nhle.com/stats/rest/en/skater` | Base end point
|
||||
|
||||
### Report types: <br>
|
||||
`/summary?`<br>
|
||||
`/bios?`<br>
|
||||
`/faceoffpercentages?`<br>
|
||||
`/faceoffwins?`<br>
|
||||
`/goalsForAgainst?`<br>
|
||||
`/realtime?`<br>
|
||||
`/penalties?`<br>
|
||||
`/penaltykill?`<br>
|
||||
`/penaltyShots?`<br>
|
||||
`/powerplay?`<br>
|
||||
`/puckPossessions?`<br>
|
||||
`/summaryshooting?`<br>
|
||||
`/percentages?`<br>
|
||||
`/scoringRates?`<br>
|
||||
`/scoringpergame?`<br>
|
||||
`/shootout?`<br>
|
||||
`/shottype?`<br>
|
||||
`/timeonice?`<br>
|
||||
## Goalie Stats
|
||||
|
||||
`GET https://api.nhle.com/stats/rest/en/goalie` | Base end point
|
||||
### Report types: <br>
|
||||
`/summary?`<br>
|
||||
`/advanced?`<br>
|
||||
`/bios?`<br>
|
||||
`/daysrest?`<br>
|
||||
`/penaltyShots?`<br>
|
||||
`/savesByStrength?`<br>
|
||||
`/shootout?`<br>
|
||||
`/startedVsRelieved?`<br>
|
||||
|
||||
## Team Stats
|
||||
`GET https://api.nhle.com/stats/rest/en/team` | Base end point
|
||||
### Report types: <br>
|
||||
`/summary?`<br>
|
||||
`/faceoffpercentages?`<br>
|
||||
`/daysbetweengames?`<br>
|
||||
`/faceoffwins?`<br>
|
||||
`/goalsagainstbystrength?`<br>
|
||||
`/goalsbyperiod?`<br>
|
||||
`/goalsforbystrength?`<br>
|
||||
`/leadingtrailing?`<br>
|
||||
`/realtime?`<br>
|
||||
`/outshootoutshotby?`<br>
|
||||
`/penalties?`<br>
|
||||
`/penaltykill?`<br>
|
||||
`/penaltykilltime?`<br>
|
||||
`/powerplay?`<br>
|
||||
`/powerplaytime?`<br>
|
||||
`/summaryshooting?`<br>
|
||||
`/percentages?`<br>
|
||||
`/scoretrailfirst?`<br>
|
||||
`/shootout?`<br>
|
||||
`/shottype?`<br>
|
||||
`/goalgames?`<br>
|
||||
|
||||
# Rosters
|
||||
|
||||
`GET https://api-web.nhle.com/v1/roster/TEAM_ABBR/now` | ADD description
|
||||
|
|
Loading…
Reference in New Issue