JavaScript is required to use Bungie.net

フォーラム

オリジナルの投稿元:BungieNetPlatform
オリジナルの投稿元: A point in the right direction with API
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

投稿言語:

 

マナーを守りましょう。投稿する前に、Bungie の行為規範を確認してください。 キャンセル 編集 ファイアチームを作る 投稿

  • 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

    投稿言語:

     

    マナーを守りましょう。投稿する前に、Bungie の行為規範を確認してください。 キャンセル 編集 ファイアチームを作る 投稿

  • 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

    投稿言語:

     

    マナーを守りましょう。投稿する前に、Bungie の行為規範を確認してください。 キャンセル 編集 ファイアチームを作る 投稿

  • 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

    投稿言語:

     

    マナーを守りましょう。投稿する前に、Bungie の行為規範を確認してください。 キャンセル 編集 ファイアチームを作る 投稿

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

    投稿言語:

     

    マナーを守りましょう。投稿する前に、Bungie の行為規範を確認してください。 キャンセル 編集 ファイアチームを作る 投稿

  • 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

    投稿言語:

     

    マナーを守りましょう。投稿する前に、Bungie の行為規範を確認してください。 キャンセル 編集 ファイアチームを作る 投稿

このコンテンツはご覧いただけません。
;
preload icon
preload icon
preload icon