JavaScript is required to use Bungie.net

Group Avatar

BungieNetPlatform

"Updates, discussions, and documentation of the BungieNetPlatform API."

Request Join
originally posted in:BungieNetPlatform
Edited by DRayX: 9/11/2014 9:33:35 PM
2

Getting bungie membership id from display name, and destiny memberhsip id from bungie id

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?

Posting in language:

 

Play nice. Take a minute to review our Code of Conduct before submitting your post. Cancel Edit Create Fireteam Post

  • Once you have their Bungie.net ID you can call http://www.bungie.net/platform/User/GetBungieAccount/<id>/254/ If their Destiny accounts are publicly linked, you will get that info in the response.

    Posting in language:

     

    Play nice. Take a minute to review our Code of Conduct before submitting your post. Cancel Edit Create Fireteam Post

  • 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.

    Posting in language:

     

    Play nice. Take a minute to review our Code of Conduct before submitting your post. Cancel Edit Create Fireteam Post

    2 Replies
    You are not allowed to view this content.
    ;
    preload icon
    preload icon
    preload icon