Golden Lion Dye has bad data in colors API

Golden Lion Dye has bad data in colors API

in API Development

Posted by: Soulweaver.2190

Soulweaver.2190

See title. https://api.guildwars2.com/v2/colors/1338 responds with:

{
   "id":1338,
   "name":"Golden Lion",
   "base_rgb":[
      128,
      26,
      26
   ],
   "cloth":{
      "brightness":4,
      "contrast":1.28906,
      "hue":40,
      "saturation":1.48438,
      "lightness":1.99219,
      "rgb":[
         195,
         118,
         0
      ]
   },
   "leather":{
      "brightness":4,
      "contrast":1.28906,
      "hue":40,
      "saturation":1.48438,
      "lightness":1.99219,
      "rgb":[
         195,
         118,
         0
      ]
   },
   "metal":{
      "brightness":4,
      "contrast":1.28906,
      "hue":40,
      "saturation":1.48438,
      "lightness":1.99219,
      "rgb":[
         195,
         118,
         0
      ]
   },
   "item":68673,
   "categories":[
      "Gray",
      "Vibrant",
      "Starter"
   ]
}

It seems to be mostly correct, except for the categories - it is a yellow spectrum Black Lion dye kit dye, not a gray starter dye. :p

[FR] Furious Rising, Ring of Fire; Soul Weaver (N/Ranger/80), Kuang Steak (C/War/80),
Zephyrweaver (H/Ele/80), Dusk Weaver (A/Thief/80), Soulweaver (S/Mes),
Svàlinn (C/Guard), Exxíon (A/Engi/80), Spectrallum (S/Necro)

Golden Lion Dye has bad data in colors API

in API Development

Posted by: Lawton Campbell

Lawton Campbell

Web Programmer

Looks like it’s a case of content being broken and my code having subtly different behavior from the client code. I’ll have a fix out probably in the release after HoT. Thanks for the heads up <3

Golden Lion Dye has bad data in colors API

in API Development

Posted by: Soulweaver.2190

Soulweaver.2190

No problem and thanks for the response!

[FR] Furious Rising, Ring of Fire; Soul Weaver (N/Ranger/80), Kuang Steak (C/War/80),
Zephyrweaver (H/Ele/80), Dusk Weaver (A/Thief/80), Soulweaver (S/Mes),
Svàlinn (C/Guard), Exxíon (A/Engi/80), Spectrallum (S/Necro)