Page 28 of 30 FirstFirst ... 18 26 27 28 29 30 LastLast
Results 271 to 280 of 296

Thread: THINGS YOU SHOULD KNOW BEFORE STARTING

  1. #271
    Basic Member
    Join Date
    Jul 2012
    Posts
    6,033
    You can't fix 500 error code. You have to retry your request until it works. Issue lies outside of your control. (Assuming the API call you did was correct. If the API call worked few hours/minute before then this shouldn't be the issue.)
    James "2GD" Harding's career as a Dota 2 host on Valve events
    * 25.02.16 - 26.02.16
    Spoiler: 



  2. #272
    Basic Member
    Join Date
    Nov 2015
    Posts
    3
    Thanks for fast response.
    Yes, I repeat the request after 45 seconds. But, I don't have time to get all matches by GetMatchHistoryBySequenceNum API method. Ok, I will search other ways to solve my problem.

  3. #273
    Basic Member
    Join Date
    Apr 2016
    Posts
    2
    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?

  4. #274
    I have been trying to get match history using the API http://api.steampowered.com/IDOTA2Match_570/GetMatchHistory/v0001/?key=<key> for the past couple of days and I keep getting the 503 Service Unavailable response. All the other API calls work just fine including the http://api.steampowered.com/IDOTA2Match_570/GetMatchHistoryBySequenceNum/v0001/?key=<key> call. I know the api might result in a 503 sometimes, but not for 2 days straight.
    Am I missing something? Suggestions would be highly appreciated.

  5. #275
    Basic Member
    Join Date
    Jul 2012
    Posts
    6,033
    Quote Originally Posted by kamaldheeraj View Post
    I have been trying to get match history using the API http://api.steampowered.com/IDOTA2Match_570/GetMatchHistory/v0001/?key=<key> for the past couple of days and I keep getting the 503 Service Unavailable response. All the other API calls work just fine including the http://api.steampowered.com/IDOTA2Match_570/GetMatchHistoryBySequenceNum/v0001/?key=<key> call. I know the api might result in a 503 sometimes, but not for 2 days straight.
    Am I missing something? Suggestions would be highly appreciated.
    I have same problem. I just try again and again until it works.
    The GetMatchHistory call usually goes through within 2 minutes. But a lot of failed attempts instead of it going through on the first try.
    James "2GD" Harding's career as a Dota 2 host on Valve events
    * 25.02.16 - 26.02.16
    Spoiler: 



  6. #276
    Basic Member
    Join Date
    Jun 2012
    Posts
    16
    Is there a method to retrieve chat messages during match?

  7. #277
    Basic Member
    Join Date
    Jul 2012
    Posts
    6,033
    Only method is by downloading the replay and analyzing it.

    Yasp does it and their code is open source.
    James "2GD" Harding's career as a Dota 2 host on Valve events
    * 25.02.16 - 26.02.16
    Spoiler: 



  8. #278
    Guys, how can you get the ability upgrades, when the only JSON request is GetMatchHistoryBySeqNum? The JSON doesn't contain Ability Upgrades.

  9. #279
    Basic Member
    Join Date
    Jul 2012
    Posts
    6,033
    Quote Originally Posted by grasdaggel View Post
    Guys, how can you get the ability upgrades, when the only JSON request is GetMatchHistoryBySeqNum? The JSON doesn't contain Ability Upgrades.
    GetMatchDetails returns something like this

    Code:
    "ability_upgrades": [
    					{
    						"ability": 5639,
    						"time": 520,
    						"level": 1
    					},
    					{
    						"ability": 5637,
    						"time": 577,
    						"level": 2
    					},
    					{
    						"ability": 5639,
    						"time": 644,
    						"level": 3
    					},
    					{
    						"ability": 5637,
    						"time": 736,
    						"level": 4
    					},
    					{
    						"ability": 5639,
    						"time": 973,
    						"level": 5
    					},
    					{
    						"ability": 5640,
    						"time": 1117,
    						"level": 6
    					},
    					{
    						"ability": 5637,
    						"time": 1289,
    						"level": 7
    					},
    					{
    						"ability": 5639,
    						"time": 1327,
    						"level": 8
    					},
    					{
    						"ability": 5638,
    						"time": 1457,
    						"level": 9
    					},
    					{
    						"ability": 5637,
    						"time": 1791,
    						"level": 10
    					},
    					{
    						"ability": 5640,
    						"time": 1860,
    						"level": 11
    					},
    					{
    						"ability": 5638,
    						"time": 2255,
    						"level": 12
    					},
    					{
    						"ability": 5638,
    						"time": 2358,
    						"level": 13
    					},
    					{
    						"ability": 5638,
    						"time": 2670,
    						"level": 14
    					},
    					{
    						"ability": 5002,
    						"time": 2800,
    						"level": 15
    					}
    				]
    James "2GD" Harding's career as a Dota 2 host on Valve events
    * 25.02.16 - 26.02.16
    Spoiler: 



  10. #280
    But GetMatchDetails-Info should be in GetMatchHistoryBySequenceNum, so that I do not have to make an additional call, or am I missing something here?

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •