originally posted in:BungieNetPlatform
View Entire Topic
So it seems like the best way to find a users bungie membership id is to use the User/SearchUsersPaged endpoint. However, I can't find an easy way to get from this id to the destiny id. If they have a public psn or xbox name, you can use that with the Destiny/SearchDestinyPlayer endpoint, but that seems overly hacky, and relies on the player sharing their linked accounts. Once you have the destiny membership id (and type), you can of course start using all the Destiny endpoints. Does anybody have any ideas?
English
-
That info is on each bungie.net account page. For example, yours is:[quote] var ONPAGE_MEMBERSHIP_INFO = $.extend({}, ONPAGE_MEMBERSHIP_INFO, { destinyMembershipId: "4611686018429275110", destinyMembershipType: "2", membershipType: "254", bungieNetMembershipId: "5262939", characterId: "2305843009217144999" });[/quote]Though I'm not sure how to get it through the API.