bgraver / lolesports-graphics

Creates graphs on demand for postgame analysis using the Unofficial Lolesports API (https://vickz84259.github.io/lolesports-api-docs/)
5 stars 0 forks source link

`getDetails` endpoint returning non-updated data #2

Closed Viriatto closed 1 year ago

Viriatto commented 1 year ago

I'm aware this is probably out of your reach and - if it is an issue and not me doing something incorrectly - something only Riot could fix but just wanted to confirm that I'm not going something wrong.

Whenever I try to pull game details (from https://feed.lolesports.com/livestats/v1/window/110852960170020344 for example), its response contains a frames property which I assume to be "snapshots" of game states, however all of these frames are the same and represent a "pre-start" state of the game.

To me what doesn't make sense is that everything else within the API seems to be updated, including Worlds 2023 match schedules and team compositions.

Any help is appreciated, thank you!

Viriatto commented 1 year ago

Figured out that a startingTime query parameter is required in order to get valid data. To get the end result of a game, using a startingTime that is posterior to the end of the game works.