API:Render service

From Albion Online Wiki
Jump to: navigation, search

The render service provides rendered PNG images for 2D game icons.

It supports different endpoints for specific groups of icons.

All icons are returned as 'image/png' mime type. Other formats are not supported.

Items

https://render.albiononline.com/v1/item/{identifier}.png

Path parameters

  • identifier (string) - Either the unique name of an ingame item or its localized name. Unique names are thereby preferred as two items may share the same localized name. If appended with @{enchantment} the enchantment level of the item will be modified. Enchantment may be 0-3.

Query parameters

  • quality (integer, optional) - Sets the quality of the item. Defaults to 0. Valid values are 1 for Normal, 2 for Good, 3 for Outstanding, 4 for Excellent and 5 for Masterpiece
  • size (integer, optional) - Sets width and height in px. Defaults to 217. Valid values are 1-217. Note that there will be a blank margin around the icon frame as item icons may be larger then the item frame itself.
  • locale (string, optional) - 2 character locale for the identifier, if identifier uses a localized name. Defaults to 'en'.

Example

Request

https://render.albiononline.com/v1/item/T4_OFF_SHIELD.png

Response

Request

https://render.albiononline.com/v1/item/T4_OFF_SHIELD@1.png

Response

Spells

https://render.albiononline.com/v1/spell/{identifier}.png

Path parameters

  • identifier (string) - Either the unique name of an ingame spell or its localized name. Unique names are thereby preferred as two spells may share the same localized name.

Query parameters

  • size (integer, optional) - Sets width and height in px. Defaults to 172. Valid values are 1-172. Note that there will be a blank margin around the icon frame as item icons may be larger then the item frame itself.
  • locale (string, optional) - 2 character locale for the identifier, if identifier uses a localized name. Defaults to 'en'.

Example

Request

https://render.albiononline.com/v1/spell/HASTE.png

Response

Destiny board

https://render.albiononline.com/v1/destiny/{identifier}.png

Path parameters

  • identifier (string) - Either the unique name of destiny board node or its localized name. Unique names are thereby preferred.

Query parameters

  • locale (string, optional) - 2 character locale for the identifier, if identifier uses a localized name. Defaults to 'en'.

Example

Request

https://render.albiononline.com/v1/destiny/ADVENTURER_ADEPT.png

Response