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

THINGS YOU SHOULD KNOW BEFORE STARTING

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

  • To get the hero and item's static images, cdn.dota2.com is not accessible in some countries, like China.
    I tried, using "http://cdn.steamstatic.com/apps/dota2/images/heroes/" or "http://cdn.steamstatic.com/apps/dota2/images/items/" work in all countries, including China. Please update this post to help later developers, :-)

    Comment


    • Originally posted by pinkfloyda View Post
      To get the hero and item's static images, cdn.dota2.com is not accessible in some countries, like China.
      I tried, using "http://cdn.steamstatic.com/apps/dota2/images/heroes/" or "http://cdn.steamstatic.com/apps/dota2/images/items/" work in all countries, including China. Please update this post to help later developers, :-)
      just go to your dota2.com version and look at what the dns is that serves the images...
      The API Bible: Things You Should Know Before Starting API Development

      Comment


      • Hi. I only interested in details/stats from certain leagues, therefore will be filtering out the low tier leagues.

        However I can only find league_tier in GetLiveLeagueGames. Which means to filter things out I am probably going to have to write some odd stuff, but also do far more api calls than is necessary for me

        It would be really useful to have one of:
        a) league tier is returned by league listings (this could break peoples existing tools though?)
        b) provide a league_tier request parameter for GetLeagueListings to only return leagues of that tier

        Comment


        • Hi, everybody! How it is possible to obtain information on a match in the live mode which isn't finished yet? Or
          At least an opportunity at the beginning of the match to check a choice of heroes.
          p.s. The purpose to obtain data on a choice of heroes in a match
          Last edited by SanteR; 12-06-2016, 10:25 PM.

          Comment


          • 226611887_215815_15149488151263271085.jpg I have teamid 3475989, but https://api.steampowered.com/IDOTA2M...eam_id=3475989 gives me an empty response. What am I doing wrong? Sorry for my english.

            Comment


            • Hello!

              Guys while trying to display API data on webpage it wont let me do that (image attached). I am using Ajax and Angular for this. Kindly help me out. Thanks

              Error (2).jpg

              Comment


              • When I use this API 'GetMatchHistory',I found that 'result_nums' is always 100.
                How could I get more data?
                Last edited by 775154773; 02-16-2017, 12:16 AM.

                Comment


                • Originally posted by suleymanahmed View Post
                  Hello!

                  Guys while trying to display API data on webpage it wont let me do that (image attached). I am using Ajax and Angular for this. Kindly help me out. Thanks

                  [ATTACH=CONFIG]47158[/ATTACH]
                  It's the problem about cross-domain.Try to use JSONP,or you can find other cross-domain solutions.

                  Comment


                  • Originally posted by 775154773 View Post
                    When I use this API 'GetMatchHistory',I found that 'result_nums' is always 100.
                    How could I get more data?
                    https://lab.xpaw.me/steam_api_documentation.html

                    GetMatchHistory has besides account_id an additional query parameter called start_at_match_id. You can request last 500 matches of the players this way. (Though if you request last 500 matches of player with hero meepo and put all the matches together you end up with more than 500.)

                    You need to call getmatchhistory 5 times to get 500 matches. One call can return 100 matches maximum.
                    James "2GD" Harding's career as a Dota 2 host on Valve events
                    * 25.02.16 - 26.02.16
                    Spoiler: 


                    Comment


                    • Can I get information about the match I'm playing at the moment?
                      I found a way to periodically query https://localhost:4000, but there is no information about other players.

                      Comment


                      • is there any way to get patch version (like 7.00, 7.01.... etc) for selected match?

                        Comment

                        Working...
                        X