Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Joshua Duffy
    @joshuaduffy
    Apologies, haven't had the time to do this yet! Will look at this very soon though :)
    Evaldo Bratti
    @evaldobratti
    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
    Joshua Duffy
    @joshuaduffy
    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 :)
    Evaldo Bratti
    @evaldobratti
    no problem
    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:
    Evaldo Bratti
    @evaldobratti
    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
    Joshua Duffy
    @joshuaduffy
    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!
    Evaldo Bratti
    @evaldobratti
    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:
    Joshua Duffy
    @joshuaduffy
    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.
    Evaldo Bratti
    @evaldobratti
    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
    Evaldo Bratti
    @evaldobratti
    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?
    Daiwei Fan
    @fandw
    Hello
    I'm just wondering if you are using Python2 or Python3 for this one
    Joshua Duffy
    @joshuaduffy
    Hi, we use Python 2.X for this.
    Apologies for the late reply!
    Joshua Duffy
    @joshuaduffy
    We now support all Python version < 2.6
    在原佐为
    @ariwaranosai
    sorry, i have no idea about how can we make a subsequent api call?
    Lê Xuân Nam
    @namlxuit056
    i can't use it
    bigpythonimish
    @bigpythonimish
    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.
    Joshua Duffy
    @joshuaduffy
    What's the match ID your using with the API? I'll have a look
    Aarnav
    @R9295

    Hey,

    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.