JavaScript is required to use Bungie.net

服務提示
《天命2》將於明日暫時離線,以進行定期維修。請選取此處查看最新的《天命》伺服器及更新狀態。

#Bungie

原先發佈於:BungieNetPlatform
1/15/2016 10:39:59 AM
3

I am trying to get into App Development. Are there any great (visual) tutorials for using an API (with an API KEY)?

I have an editText for the username and a switcher to select the platform. XBL being 1 and PSN being 2. I can easily make the URL but in chrome it asks for an API KEY (which I have). But I do not know what to do with this key. Where do I put it in the URL etc... I want a tutorial to explain how to make quick interactions with the Bungie API to get specific experience levels for factions.

文章張貼語言:

 

以禮待人。發佈文章前請花點時間查看我們的行為準則 取消 編輯 創立火力戰隊 文章

檢視完整主題
  • I've found in testing my API calls I don't have to specify a 1 or 2 for the platform, I can pass the 'PSN/Gamertag' name and 'All' and I'm returned the correct info. In order to actually interact with the API, you need to pass 'X-API-Key' = to the value of your API key.

    文章張貼語言:

     

    以禮待人。發佈文章前請花點時間查看我們的行為準則 取消 編輯 創立火力戰隊 文章

你無權檢閱此內容
;
preload icon
preload icon
preload icon