curl --request GET \
--url https://{region}.api.riotgames.com/val/match/console/v1/recent-matches/by-queue/{queue}{
"response": {}
}Get recent console matches for a specific queue
curl --request GET \
--url https://{region}.api.riotgames.com/val/match/console/v1/recent-matches/by-queue/{queue}{
"response": {}
}await client.GET_getConsoleRecent(queue, region)
console_unrated - Unrated matchesconsole_swiftplay - Swift Play matchesconsole_hurm - Team Deathmatchconsole_competitive - Competitive/Ranked matchesconsole_deathmatch - Deathmatchap, br, esports, eu, kr, latam, naRecentMatchesDto object containing a list of recent match IDs, or raw JSON dict if raw_data=TrueInvalidRegion: If the provided region is invalidInvalidQueue: If the provided queue is not a valid console queueRiotAPIResponseError: If the API response indicates an errorimport asyncio
from valaw import Client
async def main():
client = Client(token="YOUR_API_KEY", cluster="americas")
# Get recent competitive console matches
recent = await client.GET_getConsoleRecent(
queue="console_competitive",
region="na"
)
# Get recent unrated console matches
unrated_recent = await client.GET_getConsoleRecent(
queue="console_unrated",
region="eu"
)
# Process recent match IDs
for match_id in recent.matchIds:
print(f"Recent match: {match_id}")
await client.close()
asyncio.run(main())
console_ to distinguish them from PC queues. For PC recent matches, use GET_getRecent.