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

membershipid to steamid #1863

Open
nabsboss opened this issue Nov 12, 2023 · 1 comment
Open

membershipid to steamid #1863

nabsboss opened this issue Nov 12, 2023 · 1 comment

Comments

@nabsboss
Copy link

Hi,

I know that we can get the membershipid with the steamid but why we can't do the reverse ?

I don't find anything to get the steamid from the membershipid ! Maybe i lost something ?
It is possible to find a way to get it ?

@nabsboss
Copy link
Author

Hi,
it's looks that membershipid and steamid are already linked in Bungie database with User/GetMembershipFromHardLinkedCredential/12/

So It is possible to make an api that fetch steamId using membershipId like this:
User/GetSteamidFromHardLinkedCredential/all/461168601842838811
=>{
"Response": {
"membershipType": 3,
"steamId": "76561197974248648",
"CrossSaveOverriddenType": 3,
"CrossSaveOverriddenMembershipId": "4611686018485961630"
},
"ErrorCode": 1,
"ThrottleSeconds": 0,
"ErrorStatus": "Success",
"Message": "Ok",
"MessageData": {}
}
thanks !

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

1 participant