-
-
Notifications
You must be signed in to change notification settings - Fork 86
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
allow retrieving game data from hash #618
Labels
area/api-connect
Client Integration API
Comments
Makes sense and should be easy to implement - in a backwards compatible fashion even. Ready for v1 anytime imo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As a client developer, I'd like to be able to fetch the achievements/leaderboards/rich presence data for a game using the same server call as resolving the hash.
Almost every time a hash is resolved via the
gameid
API, the next thing to do is to call thepatch
API with the resulting game ID.I'd like to propose passing the hash to the
patch
API and have it return the patch data (which includes the game ID) if the hash resolves, or a nullPatchData
if the hash does not resolve (possibly even a Success=false,Error='Unknown Hash'). The API currently returns empty arrays when passed a non-existant game ID. This would also be acceptable as long as thePatchData.ID
field is not set, it's obvious the game doesn't exist.This would avoid a second server request when loading a game, making it load just a little bit faster.
The text was updated successfully, but these errors were encountered: