I'm getting the gameList(List[FeaturedGameInfo]) from the /lol/spectator/v4/featured-games api.
Now after querying matchv4 api at /lol/match/v4/matches/{matchId} with one of the live gameId from above gameList, no data is returned.
{
"status": {
"status_code": 404,
"message": "Data not found"
}
}
Although, it returns proper detailed data for past/non-live matches. But no data for live games.
So, I want to check if a match is currently live or not or if it has already ended.
I'm using V4 api.
In the riot api documentation you find the data that you search for and the links to get the data of the active games
https://developer.riotgames.com/docs/lol
EXMPL
GET https://127.0.0.1:2999/liveclientdata/activeplayer
GET https://127.0.0.1:2999/liveclientdata/playerlist
GET https://127.0.0.1:2999/liveclientdata/gamestats
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With