JavaScript is required to use Bungie.net

Ayuda

Ayúdanos a ayudarte.
publicado originalmente en: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.

Publicando en idioma:

 

Pórtate bien. Echa un vistazo a nuestro Código de conducta antes de publicar tu mensaje. Cancelar Editar Crear escuadra Publicar

Ver el resto del tema
  • 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

    Publicando en idioma:

     

    Pórtate bien. Echa un vistazo a nuestro Código de conducta antes de publicar tu mensaje. Cancelar Editar Crear escuadra Publicar

    2 Respuestas
    No se te permite acceder a este contenido.
    ;
    preload icon
    preload icon
    preload icon