api icon indicating copy to clipboard operation
api copied to clipboard

membershipid to steamid

Open nabsboss opened this issue 2 years ago • 1 comments

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 avatar Nov 12 '23 02:11 nabsboss

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 !

nabsboss avatar Dec 11 '23 20:12 nabsboss