ValvePython / dota2

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

Can't get results from request_matches #3

Closed kiddten closed 8 years ago

kiddten commented 8 years ago

Here is the code:

@dota.on('ready')
def fetch_matches():
    jobid = dota.request_matches(account_id=70388657, matches_requested=5)
    resp = dota.wait_event(jobid, timeout=5)
    if resp:
        print resp

resp is None

I've tried various timeouts..

rossengeorgiev commented 8 years ago

That message has been problematic. It might have been disabled completely, as stated in the docs various parameters didn't work before.