JavaScript is required to use Bungie.net

帮助

请协助我们帮助你。
原先发布于:BungieNetPlatform
11/30/2014 4:25:35 PM
1

Endpoint definitions languages

Hi everybody, I've been following this group closely for a few weeks now, trying to improve my little Destiny stats website, and I hit a wall when people asked me when the french version was due. I tried to look into each endpoint, and I tried to add url parameters like we do for definitions, but nothing seems to work. In the manifest endpoint, we can see all the available languages, how can I apply this to definitions I'm getting on other endpoints? Thank you very much for your time.

发贴语言:

 

遵守游戏礼仪。发送贴子前请花点时间阅读我们的行为准则 取消 编辑 创建火力战队 贴子

  • Hi BinarMorker, I haven't personally tried these yet, but from what I've figured you can use this endpoint to get the available locales: http://www.bungie.net/platform//GetAvailableLocales/ Then, most (if not all) endpoints will let you use the 'lc' URL parameter to specify the locale you want. For example, this request would grab the character data (with definitions) in English for your Titan: http://www.bungie.net/platform/Destiny/2/Account/4611686018434621158/Character/2305843009219088994/?definitions=true&lc=en To get the French version, just change the 'lc' value to 'fr': http://www.bungie.net/platform/Destiny/2/Account/4611686018434621158/Character/2305843009219088994/?definitions=true&lc=fr Hope I helped :) Thanks, Vivek

    发贴语言:

     

    遵守游戏礼仪。发送贴子前请花点时间阅读我们的行为准则 取消 编辑 创建火力战队 贴子

    2 回复
    你没有权限查看此内容。
    ;
    preload icon
    preload icon
    preload icon