Apologies, haven't had the time to do this yet! Will look at this very soon though :)
no problem :)
just pushed a commit with url support for items and heroes
there are some types that could be improved, like leagueid turning into league_id, more 'pythonic'
and we could convert some booleans values, like 0 turning to false and so on
but it takes time to review all responses to find out what to convert
Yeah it does!
I'm working quite a lot at the moment too, finding it hard to make the time, hopefully in the coming weeks I can change that though :)
I started to work in another app that will use dota2api, but the pip install is not working, it's not installing the requests lib
no wonder why :worried:
I was trying to find the error behind the pip install, and discovered that is not working only on a virtual environment
when it's being installed on system wide, it works nicely
Yeah I'm not sure why the dependency doesn't install :/
In the setup.py I defined it as a dependency but it doesn't seem to pick it up!
maybe I fixed it. The problem was setup.py referencing dota2api package, and init.py had a dependency to requests, since init.py couldn't be built, the setup.py fails entirely. I separated Initialise from init.py to api.py and it worked smoothly :smile:
Ooh, nice find. Shall we get that merged into the main branch? I'm hoping I can review the objects branch soon and get the ball rolling with the new version.
I don't know if there are people using the api from source. In the object_response branch there is still a issue with players with syllabear hero
It's not parsing bear items. Finishing that we can update documentation and merge into master, problably releasing a new version
I had some issues with abilities ids when I was downloading my matches, some 6.84 aghs upgrades are not on our file and seems that others has changed. Do you know where we can find an updated version of that?
I'm just wondering if you are using Python2 or Python3 for this one
Hi, we use Python 2.X for this.
Apologies for the late reply!
We now support all Python version < 2.6
sorry, i have no idea about how can we make a subsequent api call?
Lê Xuân Nam
i can't use it
Hey guys anyone facing issue with calling match details function for a live game? It shows wrong match_id even though its the correct one taken from TrackDota/Dotabuff
Would be thankful if someone helps me out here with the issue.
What's the match ID your using with the API? I'll have a look
Is there a way to determine the team the player was in a match? I'm using get_match_details() and I don't get the pick_bans in the response dict, thus making me unable to get the list of heroes picked and their respective team.