JavaScript is required to use Bungie.net

Forums

originally posted in:BungieNetPlatform
10/20/2015 10:41:42 PM
1

Best way to get a user's Group ID (clan)?

Hey all, I'm working on a little clan app and I'm trying to work it out something like this: - User opens app and authenticates - App reads /Account/ endpoint - App gets Group ID (somehow) for the group they have set as clan - App shows clan results to user from /Group/{groupId}/MembersV3/ I figured that the Group ID would be the best way to go, but its not a part of the response from /Account/ (only the clan name and clan tag). Maybe I'm missing something? Suggestions? Thanks!
English

Posting in language:

 

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

View Entire Topic
  • Ah! So what you'll want is the GetBungieAccount() endpoint - that returns a "BungieAccount" entity which has a "clans" property - one per clan for which they are a member! That endpoint is /Platform/User/GetBungieAccount/{membershipId}/{membershipType}/ Give that one a spin!

    Posting in language:

     

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

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