Skip to content

Match History

Get a Player's recent match history, with filters like queue time, dates, and count.

# Get player
player = await client.get_player("bexli", "bex")

# Get last 20 matches
matches = await player.get_matches()

# Get last 5 solo queue matches
matches = await player.get_matches(count=5, queue=Queue.SOLO_QUEUE)

# Get last week's matches
past_week = dt.datetime.now(tz=dt.UTC) - dt.timedelta(days=7)
past_week_matches = await player.get_matches(start_time=past_week)

# Get last match
last_match = await player.get_last_match()