ValvePython / dota2

🐸 Python package for interacting with Dota 2 Game Coordinator
http://dota2.readthedocs.io
201 stars 32 forks source link

request_player_match_history Returning ready #48

Closed ghost closed 4 years ago

ghost commented 4 years ago
jobId = dota.request_player_match_history(account_id=player, matches_requested=10,
                                              request_id=player, start_at_match_id=0,
                                              include_practice_matches=True,
                                              include_custom_games=True)
requested_matches = dota.wait_msg(jobId, timeout=20)

player is a steam32 ID

ghost commented 4 years ago

so apparently new accounts cannot use this function, they just endlessly wait on a reply, and it's rate limited to 50 requests per IP and account