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.