Jump to content


tank list images


  • Please log in to reply
2 replies to this topic

Dziamdziak #1 Posted 27 August 2018 - 08:50 PM

    Private

  • Player
  • 7624 battles
  • 2
  • [_VV_] _VV_
  • Member since:
    01-08-2012
Hello all, recently I've tried to obtain tanks list from wot API. I was able to do it and i got following JSON response: 
Spoiler

But links to images are not working (some kind of nginx(?) problem, can you help?



kaadomin #2 Posted 29 August 2018 - 01:54 PM

    Lieutenant

  • Player
  • 31529 battles
  • 1,881
  • [NXD] NXD
  • Member since:
    06-11-2012

View PostDziamdziak, on 27 August 2018 - 08:50 PM, said:

Hello all, recently I've tried to obtain tanks list from wot API. I was able to do it and i got following JSON response: 
Spoiler

But links to images are not working (some kind of nginx(?) problem, can you help?

 

WoT? Sometimes I try to get some stuff from EU and as fall back from RU (api.worldoftanks.ru/wot/encyclopedia/vehicles/?application_id=XXXXXXXX&tank_id=1)

 

"images": {
      "small_icon": "http://api.worldofta...sr-R04_T-34.png",
      "contour_icon": "http://api.worldofta...sr-R04_T-34.png",
      "big_icon": "http://api.worldofta...sr-R04_T-34.png"
},

 

As fare as I remember I had to add some manual fixes. Usually I take the tank IDs from my list of players and if I miss a tank ID in the database, I try some other requests - like the RU one above.



Dziamdziak #3 Posted 30 August 2018 - 02:47 PM

    Private

  • Player
  • 7624 battles
  • 2
  • [_VV_] _VV_
  • Member since:
    01-08-2012

So, it looks like links I've got for images are different than yours, weird.

Anyway, ill give it à try at home, thanks for help! 






1 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users