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