Forum Rules

  • No flaming or derogatory remarks, directly or through insinuation.
  • No discussion, sharing or referencing illegal software such as hacks, keygen, cracks and pirated software.
  • No offensive contents, including but not limited to, racism, gore or pornography.
  • No excessive spam/meme, i.e. copious one liners in a short period of time, typing with all caps or posting meme responses (text/image).
  • No trolling, including but not limited to, flame incitation, user provocation or false information distribution.
  • No link spamming or signature advertisements for content not specific to Dota 2.
  • No Dota 2 key requests, sell, trade etc.
  • You may not create multiple accounts for any purpose, including ban evasion, unless expressly permitted by a moderator.

  • Please search before posting. One thread per issue. Do not create another thread if there is an existing one already.
  • Before posting anything, make sure you check out all sticky threads (e.g., this). Do not create new threads about closed ones.
  • It is extremely important that you post in correct forum section.

  • Balance discussion only in Misc.
  • All art related (such as hero model) feedbacks go to Art Feedback Forum.
  • All matchmaking feedback should go here: Matchmaking Feedback
  • All report/low priority issues should go here: Commend/Report/Ban Feedback
  • No specific workshop item feedback. These should go to workshop page of that item.
  • When posting in non-bugs section (such as this), use [Bugs], [Discussion] or [Suggestion] prefix in your thread name.

In case you object some action by a moderator, please contact him directly through PM and explain your concerns politely. If you are still unable to resolve the issue, contact an administrator. Do not drag these issues in public.

All rules are meant to augment common sense, please use them when not conflicted with aforementioned policies.
See more
See less

Pick and Bans Api-Data

  • Filter
  • Time
  • Show
Clear All
new posts

  • Pick and Bans Api-Data

    Is it possible to get Bans and Picks Api Data? Would make it easier to cover competitive matches
    Biggest German eSports Community - Biggest German Dota 2 Community

  • #2
    Originally posted by matthe2 View Post
    Is it possible to get Bans and Picks Api Data? Would make it easier to cover competitive matches
    You can parse it out of the replays pretty easily I think.

    The problem is that valve doesn't even save this in their databases I think, so in order to provide it retroactively they'd have to parse it out of the replays themselves.

    Imo it's a better business choice for them to not save this data as they'd have to do it for every single CM match.
    firstly, that means they'd have to modify the API so it returns differently for CM matches, which is a pain in of itself.
    secondly, it's 10 extra 3 digit ints they have to store in their database, times that by however many CM matches there are then you get a whole lot of extra data that would be pretty niche.

    Inb4 only storing it for pro matches.. same problem as before, the API has to be modified to return bans specifically for pro matches and nothing else - extra logic in the system which complicates things.
    The API Bible: Things You Should Know Before Starting API Development


    • #3
      I don't think this is in the replay parses. If it is, can someone please let me know? If not (and I'm pretty sure it isn't) +1 for adding it to the API or the replays. -- Dota 2 Stats for the Professional Scene


      • #4
        I feel like it would have to be? I mean, you can see it when you watch a replay...


        • #5
          I've found a bunch of stuff in the replay parses but other than a few audio things that relate to the draft (and aren't consistent or complete enough to piece together the draft) I haven't seen anything related to the draft. Not saying for sure it isn't there but I haven't been able to find it and haven't heard of anyone else who has either.

          There's plenty that you can see when you watch a replay that isn't able to be parsed out. For example, hero location throughout the game can be seen can be seen in the replays but I'm not aware of anyone being able to parse it out yet.
 -- Dota 2 Stats for the Professional Scene


          • #6
            Sorry I was incorrect. They have added the pick and ban data to the replay parses. It is a relatively recent addition (I believe it was added in sometime in early to mid-December).
            Last edited by Razumov; 12-25-2012, 07:14 PM.
   -- Dota 2 Stats for the Professional Scene