Bungie-net / api

Resources for the Bungie.net API
Other
1.22k stars 92 forks source link

membershipid to steamid #1863

Open nabsboss opened 1 year ago

nabsboss commented 1 year ago

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 commented 11 months ago

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 !