dota2 icon indicating copy to clipboard operation
dota2 copied to clipboard

Issue with Real Time Match data.

Open ring0jke opened this issue 3 years ago • 1 comments

Hello.

Is it possible to get Live data of match using request_matchdetails? It returns me /n if i request live match info. If i request match which already ended, it shows all info about it.

And second question how to use method : request_matches() It tried to insert args (Skill,game_mode and etc) from source,but its also returns nothing. Any help please :(

ring0jke avatar Jul 12 '22 12:07 ring0jke

To my knowledge, request_matchdetails gives data only for finished game, and the only way to have information about running games is to use https://github.com/ValvePython/dota2/blob/474d819d2ef949d8b3c742a562aa06dfa2c1548d/dota2/features/match.py#L105

It is how the games are displayed in the WATCH category in the client. This method displays at max 100 games if you call it like that: request_top_source_tv_games(start_game=90). There should be a way to display friend lobbies (like in client) or specific lobbies because the message accepts a lobby_ids array parameter. However finding a lobby_id for a specific running game is not easy.

Philaeux avatar Mar 03 '23 12:03 Philaeux