Jump to content
nigri

MatchID for Custom game

Recommended Posts

Hi,

 

If I create a Custom Game, is there any way I can look it up via the API?

Querying the player and get a list of Match IDs is not very useful. My custom game could be any of those match IDs.. 

 

Thanks

Share this post


Link to post
Share on other sites
On 10/15/2018 at 8:50 AM, nigri said:

Hi,

 

If I create a Custom Game, is there any way I can look it up via the API?

Querying the player and get a list of Match IDs is not very useful. My custom game could be any of those match IDs.. 

 

Thanks

 

Yes. 

 

If you look at the Match ID ingame under the health bar you can find an ID. That ID is the last part of a match ID.

 

So if you have the ID "59E357" ingame, when you pull your list of matches from your player query, you just need to look for the match id that ends with that part. After that you can call the query on that specific match ID to get the data for that game.

 

Note, matches are not logged where you are a spectator only.

Share this post


Link to post
Share on other sites

I found that just fetching last game from some specific user whom attended the custom match and then check if that match was a custom game is the best way to fetch stats from custom games.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...