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 yongelee View Post
    Is there a way to get ALL matches in dota history? Maybe per patch or something?
    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.
    James "2GD" Harding's career as a Dota 2 host on Valve events
    * 25.02.16 - † 26.02.16
    Spoiler: 


    Comment


    • Is the date_min in get_match_history working?

      Comment


      • date_min was removed.

        http://steamwebapi.azurewebsites.net/
        http://i.imgur.com/vHUPrfG.png
        The content you see there was generated via http://api.steampowered.com/ISteamWe...tedAPIList/v1/

        Whatever is listed there supposedly works.
        James "2GD" Harding's career as a Dota 2 host on Valve events
        * 25.02.16 - † 26.02.16
        Spoiler: 


        Comment


        • Wow thank you so much. On the page you gave me, I saw IDOTA2Match_205790 and IDOTA2Match_570, what's the difference there?

          Comment


          • IDOTA2Match_205790 is the Dota 2 test client.
            James "2GD" Harding's career as a Dota 2 host on Valve events
            * 25.02.16 - † 26.02.16
            Spoiler: 


            Comment


            • Hi, please help:
              https://api.steampowered.com/IDOTA2M...TopLiveGame/v1
              Parameters:

              type name optional description
              int32 partner Which partner's games to use.

              What is the "partner"?

              and i can get more that 10 game?

              Thanks!
              Last edited by mrmen3333; 02-29-2016, 06:46 PM.

              Comment


              • sorry do you know gow to get match history and get the detail match for specific person for entire 3 month. stll newbs here and trying

                Comment


                • http://steamwebapi.azurewebsites.net/

                  https://api.steampowered.com/IDOTA2M...atchHistory/v1

                  One API call returns 100 match ids. With this API it is possible to get someone's last 400 matches. If you want more it is not possible with this.

                  Always add "key" parameter (your API key).
                  Add "account_id" parameter if you want the match of a specific guy.
                  Add "start_at_match_id" parameter to fetch the next 100 match ids.

                  Example
                  https://api.steampowered.com/IDOTA2Match_570/GetMatchHistory/V001/?key=<API KEY>&account_id=<Steam 32 id>&start_at_match_id<match id>
                  James "2GD" Harding's career as a Dota 2 host on Valve events
                  * 25.02.16 - † 26.02.16
                  Spoiler: 


                  Comment


                  • Originally posted by GermanViet View Post
                    http://steamwebapi.azurewebsites.net/

                    https://api.steampowered.com/IDOTA2M...atchHistory/v1

                    One API call returns 100 match ids. With this API it is possible to get someone's last 400 matches. If you want more it is not possible with this.

                    Always add "key" parameter (your API key).
                    Add "account_id" parameter if you want the match of a specific guy.
                    Add "start_at_match_id" parameter to fetch the next 100 match ids.

                    Example
                    https://api.steampowered.com/IDOTA2Match_570/GetMatchHistory/V001/?key=<API KEY>&account_id=<Steam 32 id>&start_at_match_id<match id>
                    steam 32 id, do i get that from web like dotabuff or dota database or i need to find out with https://api.steampowered.com/ISteamU...rSummaries/v2/

                    Comment


                    • I don't know how you decide which player you want to analyze.

                      Steam32 id is the same id used in dotabuff/yasp player links or in the dota 2 client the friend ids. If you have the Steam profile link the id is Steam64. You can google how to convert between Steam64 and Steam32. GetPlayerSummaries provides the Steam64 id. (And in order to call that API you need to pass Steam64 id so no information gain.)
                      James "2GD" Harding's career as a Dota 2 host on Valve events
                      * 25.02.16 - † 26.02.16
                      Spoiler: 


                      Comment


                      • hmm, do i need to download 1 by 1 match detail or there api key for bulk match detail. well with you example i just see account id and bla bla, not so detailed haha, still trying to find.. well do any of you have data 50 player and the detail it match for 50 game.
                        sorry for the incovenience

                        Comment


                        • GetMatchDetails can only return 1 match. Just multithread that.
                          James "2GD" Harding's career as a Dota 2 host on Valve events
                          * 25.02.16 - † 26.02.16
                          Spoiler: 


                          Comment


                          • Hello everyone. I have a question. I need to get steam_id's from lobby in started game. In other words we need to finding out steam_id's while the game is starting. Can someone help me?
                            p.s. sry for my english I'm native russian player

                            Comment


                            • 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
                              Last edited by Gryphon7; 03-14-2016, 09:27 AM.

                              Comment


                              • I have specific queries that they are running in large quantities that don’t naturally fit into the existing API,and sent you private message.
                                Is there any improvement?
                                thanks.

                                Comment

                                Working...
                                X