developer-relations icon indicating copy to clipboard operation
developer-relations copied to clipboard

[BUG] Public Custom Games No Longer Accessible Via API

Open tjbjorklund3 opened this issue 1 year ago • 3 comments

Bug Description
As of 14.1, custom games that can be spectated by anyone (Allow spectators: all) no longer are accessible via the API. Unsure if this is intentional or not.

Problem Description
As someone a part of a competitive team, I would love to be able to pull more than just the basic data available in the post-game stats. If they were never intended to be viewable via the API, it's a bit dissapointing, but understandable. I would just like to know so that I can properly continue to build our data dashboard.

Expected Result
Exepected to be able to pull API data for the games.

Actual Result
Was not able to call the games.

Developer Impact
Describe how this affects you as a developer. Please include the frequency and severity of the issue.

It's dissapointing, but not a major "issue". More data is great for socials, sponsors, and school administration.

Player Impact
Less data for improvement.

Preconditions
Custom games

Repro Steps
Step by step, what do you need to do to cause the bug? Note that GitHub will automagically number each step if you prefix the line with "1. "

Issue Comments
Might want to leave this as instructions for any replies to your issue:

tjbjorklund3 avatar Jan 21 '24 09:01 tjbjorklund3

Hi there - This may have been a miss when the spectator service was updated earlier this year. We have a request open to the owning team to see about getting this added back to the Spectator-V5 API. I'll post back here when I have more info.

tisbells avatar May 17 '24 17:05 tisbells

Hey there - There was a change made where the spectator service no longer stores custom games by default. Someone needs to click spectate in the client or the game won't be available in the Spectator API. We were able to test that custom matches where the spectate button was pressed are still available in the API.

Let us know if this settles your issue or if you are still unable to find custom lobbies that are being actively spectated in the API.

tisbells avatar May 22 '24 17:05 tisbells

Someone needs to click spectate in the client

So, there is no way to know via the API that the summoner is playing a custom game until someone starts spectating, right? Is there a way to "click the button" via the API?

jebibot avatar May 23 '24 00:05 jebibot