Announcement

Collapse

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

Dota 2 Match History WebAPI

Collapse
This is a sticky topic.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Originally posted by Gryphon7 View Post
    Spoiler: 
    Hey guys, I was playing around with the Dota API, and expanded on the list that Aardvarki made.

    111,US West
    112,US West
    121,US East
    122,US East
    123,US East
    131,Europe West
    132,Europe West
    133,Europe West
    134,Europe West
    135,Europe West
    136,Europe West
    137,Europe West
    138,Europe West
    144,South Korea
    145,South Korea
    151,Southeast Asia
    152,Southeast Asia
    153,Southeast Asia
    154,Southeast Asia
    155,Southeast Asia
    156,Southeast Asia
    161,China
    162,China
    163,China
    171,Australia
    181,Russia
    182,Russia
    183,Russia
    184,Russia
    185,Russia
    186,Russia
    187,Russia
    188,Russia
    191,Europe East
    192,Europe East
    200,South America
    201,South America
    202,South America
    203,South America
    204,South America
    223,China
    224,China
    225,China
    226,China
    227,China
    228,China
    229,China
    230,China
    231,China
    242,Chile
    251,Peru
    261,India
    Thanks!
    I'm working on my shitty Reddit bot again and this is exactly what I need. Atm I'm working on filtering the matches by hero(es). Region and game mode soon to follow.

    How did you make this list?
    James "2GD" Harding's career as a Dota 2 host on Valve events
    * 25.02.16 - 26.02.16
    Spoiler: 


    Comment


    • hi guys i seem to miss something pleasue guide me:

      my goal is to get as much as possible ranked mmr matches. I'm only interested in data in GetMatchHistory.

      1. i start with http://api.steampowered.com/IDOTA2Ma...istory/v1?key=[MyKey]&min_players=10
      2. in a loop with approppriate throttling i do:
      http://api.steampowered.com/IDOTA2Ma...istory/v1?key=[MyKey]&min_players=10&start_at_match_id=[LastIdFormPreviousQuery]

      now this will only allow me to get 500 matches. After that the query will return an empty result. Is there a way to keep querying for example till 1st of january this year?

      Comment


      • Does this api sometimes not return anything? Or is there a limit I didn't know about?

        Comment


        • Originally posted by GermanViet View Post
          https://api.steampowered.com/IDOTA2M...atchHistory/v1

          provides last 100 matches. Add start_at_match_id parameter with the last match id from the previous call as its value to get the next 100 matches. Iterate until you went through them all.
          I just tried this and I think I get maxed out at 505 matches? So I am guessing 500 is the maximum amount of games you can get?

          Comment


          • My fault. You can only get a maximum of 500 matches that way. total_results and results_remaining tell you how many you can get from that API call.
            James "2GD" Harding's career as a Dota 2 host on Valve events
            * 25.02.16 - 26.02.16
            Spoiler: 


            Comment


            • Hi,

              Its possible to check if one match for Esports leagues is a online or offline event via API? MatchDetail or other way?

              Tks

              Comment


              • Question about /GetMatchDetails/
                Where is radiant_name/dire_name, radiant_logo/dire_logo fields now?
                I don't see it right now, but 1-2 days ago it was there

                Comment


                • RoyZergoff, it's a bug for a week.

                  DotA 2 Web API Processing with PHP
                  DotA2 Statistic - Professional leagues statistic
                  follow @dota2statistic

                  Comment


                  • Too bad :-/

                    Comment


                    • Could we have an game mode indicator for the basic match_history call? That way we could precisely target game modes, instead of making two requests for that info, since game_mode is in the match_detail-call. What do you think about that?

                      Or maybe: whats the best way to target only specific game modes, with least usage of ressources? I'm playing a little with the Dota2 API, but I'm a PHP beginner.

                      Comment


                      • grasdaggel, look into GetMatchHistoryBySequenceNum if you haven't already. It gives the game mode, as well as all other GetMatchDetails information, right in the result list. I can't really think of a reason to use GetMatchHistory/GetMatchDetails anymore since its functionality got nerfed.

                        Comment


                        • Originally posted by DaiBu View Post
                          grasdaggel, look into GetMatchHistoryBySequenceNum if you haven't already. It gives the game mode, as well as all other GetMatchDetails information, right in the result list. I can't really think of a reason to use GetMatchHistory/GetMatchDetails anymore since its functionality got nerfed.
                          Could you elaborate? Im not sure what to do with GetMatchHistoryBySequenceNum - the first post doesnt contain any information about that. :/

                          EDIT: i worked it out myself. GetMatchHistoryBySequenceNum doesn't gives back Ability Upgrades, so I thereby can't really use it without doing another JSON call, which I do not want performance-wise.
                          Last edited by grasdaggel; 06-24-2016, 06:17 PM.

                          Comment


                          • Originally posted by grasdaggel View Post
                            GetMatchHistoryBySequenceNum doesn't gives back Ability Upgrades...
                            Yes it does. I think you might be looking at old matches. I don't think you can get ability information for those period, although I haven't tried with GetMatchDetails. Maybe you can. In any case, for newer matches, GetMatchHistoryBySequenceNum returns ability upgrade info. Try it with with the start_at_match_seq_num parameter set to something recent.
                            Last edited by DaiBu; 07-04-2016, 04:07 AM.

                            Comment


                            • Is GetMatchHistoryBySequenceNum not working?

                              Comment


                              • completely down for everyone else?

                                Comment

                                Working...
                                X