1
0
mirror of https://gitlab.com/dword4/nhlapi synced 2024-11-21 18:14:55 +00:00

Merge branch 'master' into 'master'

Update file new-api.md

See merge request dword4/nhlapi!45
This commit is contained in:
Drew Hynes 2024-10-17 18:56:28 +00:00
commit 960d9dcb25

View File

@ -716,4 +716,11 @@ e.g. `https://api-web.nhle.com/v1/roster/buf/20232024`
`GET https://api-web.nhle.com/v1/score/now` | Linescore details `GET https://api-web.nhle.com/v1/score/now` | Linescore details
`GET https://api-web.nhle.com/v1/gamecenter/GAME_ID/boxscore` | Boxscore details `GET https://api-web.nhle.com/v1/gamecenter/GAME_ID/boxscore` | Boxscore details
`GET https://api-web.nhle.com/v1/gamecenter/GAME_ID/play-by-play` | PBP details
These two combined make what the previous live JSON used to be. Details like the time
of the day when the game ends are gone completely.
# Player search
`GET https://search.d3.nhle.com/api/v1/search/player?culture=en-us&limit=20&q=STRING` | Searches for a string. Culture is the locale, and active=0|1 may be specified.