JavaScript is required to use Bungie.net

Forums

originally posted in:BungieNetPlatform
3/24/2016 3:06:57 PM
5
So you'll need to make an http get request to the manifest endpoint, parse the received response for the mobileWorldContentPaths endpoint you need, then make another http get request to that endpoint. That will send you a compressed SQLite db, which you'll need to unzip. After that, you access it as a normal SQLite db. What codebase is your website in? If c# I have some code you can use. You can also find some good information here: http://destinydevs.github.io/BungieNetPlatform/docs/Manifest
English

Posting in language:

 

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

  • Hi Spartain, Thanks for coming back to me, I used to be able to download the manifest, unzip and read via SQLite before the introduction of an API Key requirement. The thing I am having trouble with is creating the http get request to aquire the manifest endpoint. My site is built on the Wordpress platform ([url]http://www.gaminganimal.co.uk/[/url]), I will be creating a new site and domain if I can sort out how to output the manifest in a way my website viewers can read. Thanks Spartain Regard xxo ACE oxx

    Posting in language:

     

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

  • the secure endpoint actually doesn't require an API key. see if sending your request to https://www.bungie.net/Platform/Destiny/Manifest/ will work

    Posting in language:

     

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

  • Spartain is correct, and if you're using cURL (I imagine so? I don't know much about the PHP ecosystem, so I'm not sure if there are many other preferred libraries out there), here's an example of someone setting custom headers if it helps! http://stackoverflow.com/questions/3032643/php-get-request-sending-headers

    Posting in language:

     

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

  • So, to clarify, are you directly making the request (manually) or is your website making it? Either way, it sounds like you have the structure set up for it. Simply adding the API key as an HTTP Header with the name "X-API-Key" should get back data for you again.

    Posting in language:

     

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

  • Edited by xxo ACE oxx: 3/28/2016 9:17:26 PM
    Hi Spartain, I'm attempting to manually make the request. I would like to pull the manifest data and create a similar item listing as http://destinydb.com/items#type:1498876634;subtype:50 for the entire database. I am experienced in CSS and html and would be able to create the the styling if I could just get the data. Sorry, It's almost like I need a step by step guide, as I do not even know how to request the data, what application, software or platform to use. Thanks in advance for any help

    Posting in language:

     

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

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