Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getMatchHistory Returning just all pick games #7

Open
Root-Control opened this issue Jan 6, 2018 · 3 comments
Open

getMatchHistory Returning just all pick games #7

Root-Control opened this issue Jan 6, 2018 · 3 comments

Comments

@Root-Control
Copy link

I put in options game_mode matchmaking but i'm getting the same result (all pick games)

@booxood
Copy link
Owner

booxood commented Jan 12, 2018

Can you grab the request and see?

@kratosB
Copy link

kratosB commented Mar 5, 2018

Hi my friend,

http://api.steampowered.com/IDOTA2Match_570/GetMatchHistory/v1/?key=XXXXXXXXXXXXXXXXXXXXX&account_id=XXXXXXXXXXXXXX

this is my request.

i could get only 100 recent game, and the size of total results is only 500, could you help?

"result": {
"status": 1,
"num_results": 100,
"total_results": 500,
"results_remaining": 400,
"matches": [

@chavychaze
Copy link

You can do nothing with 500 results, it const by Valve, but to get next 100 results, you just need to add the attribute start_at_match_id (example http://api.steampowered.com/IDOTA2Match_570/GetMatchHistory/v1/?key=XXXXXXXXXXXXXXXXXXXXX&account_id=XXXXXXXXXXXXXX&start_at_match_id=XXXXXX), with the last match_id you've got in the previous request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants