JavaScript is required to use Bungie.net

Assistenza

Aiutaci ad aiutarti.
postato inizialmente in:BungieNetPlatform
11/4/2015 5:39:13 PM
1

Is there a way to get images from the API?

Hi all. I'm a destiny API noob, but a fairly proficient asp.net developer, mostly C#. I notice that a lot of web apps and mobile apps utilize image files for weapons, emblems and the like, and the similarity in these files from one app to another leads me to believe they are pulling them from the same source. I've been looking at the API documentation and I don't see a way to retrieve image data from the API. Am I overlooking something? Is there perhaps another API or another source somewhere that will return an image file based on an item ID? Thank you for reading.

Lingua:

 

Fate i bravi. Prima di postare date un'occhiata al nostro codice di condotta. Annulla Modifica Crea squadra Invia

  • When you query the API and get a JSON result, many will contain attributes such as: "icon":"/common/destiny_content/icons/96f9fb76b4d350d252393af8e192ff03.jpg" Append "http://www.bungie.net" to the front and you have the URL to the image.

    Lingua:

     

    Fate i bravi. Prima di postare date un'occhiata al nostro codice di condotta. Annulla Modifica Crea squadra Invia

    2 Risposte
    Non ti è permesso visualizzare questo contenuto.
    ;
    preload icon
    preload icon
    preload icon