API Documentation

SVG Monsters

Vertical columns Url and Description
GET URL https://app.pixelencounter.com/api/basic/svgmonsters?[primaryColor:string]
Test Get a monster with random pattern.
[fillType:int] Must be a number of: 0=Solid, 1=VerticalSplit, 2=HorizontalSplit, 3=Dotted, 4=Custom1
[backgroundColor:string] Must be a CSS color value.
[primaryColor:string] Must be a CSS color value.
[secondaryColor:string] Must be a CSS color value, the fillType cannot be Solid.
Response type image/svg+xml; charset=utf-8
Vertical columns Url and Description
GET URL https://app.pixelencounter.com/api/basic/svgmonsters/{int}?[fillType:int]
Test get a monster with pattern from a seed.
{int} The seed id, must be greater than '0' and lower than or equal to '2147483647'.
[fillType:int] Must be a number of: 0=Solid, 1=VerticalSplit, 2=HorizontalSplit, 3=Dotted, 4=Custom1
[backgroundColor:string] Must be a CSS color value.
[primaryColor:string] Must be a CSS color value.
[secondaryColor:string] Must be a CSS color value, the fillType cannot be Solid.
Response type image/svg+xml; charset=utf-8