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 OldManLosia: 6/18/2015 11:40:15 PM
2

Mapping nightfallActivityHash returned from Advisors endpoint to actual Strike

Right now I can grab the "nightfallActivityHash" from the Public Advisors endpoint, but when I feed that hash to the Manifest you don't get a hash for the actual Strike details that is the current nightfall. The only link I see as to which strike the nightfall is, is through the "activityDescription". I could get the Manifest data for the strike by comparing the description text against available strikes in the manifest, but this seems very tedious and inefficient. Has anyone come across any other method than comparing the "activityDescription" property against the available strike hashes in the manifest to get the current week's strike details (eg. full name)?

Posting in language:

 

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

  • Personally I've created a function within my page that compares the activityDescription to a list of all strikes/descriptions in order to get the actual name of the strike. Not sure if there's an endpoint you can call to just get info about one strike. That may be an alternative.

    Posting in language:

     

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

    6 Replies
    • You tried with definitions=true? http://www.bungie.net/platform/destiny/advisors/?definitions=true This call returns a "definitions" object into "Response" object. With this you can get the descriptions. Response->data->nightfallActivityHash->(Take the hash) Response->definitions->activities->(Search for the hash)

      Posting in language:

       

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

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