PurrBotAPI - An image-api for everyone!

This API was first created, to generate images that look like Discord messages from users.
It was (and still is) used by *Purr*.

This API is like any other HTTPS/REST API, meaning, that you can provide information through link-parameters, to customize the images.

Below can you find the base-url (the one you're currently on) that is used.

Base-URL:

GET /quote ­čí▓ Image/PNG

Generates a image, that aims to look like a message from Discord.

Parameters

Field Type Description
avatar URL avatar-url
color String/Integer Name color. Either hex:rrggbb, rgb:r,g,b or a raw color as integer value
format String time format
name String Username
text String Message
time Integer Time in epoch-millis

GET /status ­čí▓ Image/PNG

Generates a avatar containing a status-icon (The dot, that can be green, yellow, red or grey).

Parameters

Field Type Description
avatar URL avatar-url
status String Status for the icon (online, idle, do_not_disturb, dnd or offline)

GET /welcome ­čí▓ Image/PNG

This endpoint is mainly used for the bot *Purr*.
It generates a image, that the bot uses in its welcome-command.

Parameters

Field Type Description
avatar URL avatar-url
color String/Integer Text color. Either hex:rrggbb, rgb:r,g,b or a raw color as integer value
image String The welcome-image
name String Username
size Integer Member count of guild

Related Links


Discord

Github

Source Code

Main Site

Provided under the MIT license.