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 requires you to provide your values through JSON and with a POST request.

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

Base-URL:

Important

POST /quote

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

Info
Returns image on success.

Parameters

Field Description Default
avatar The URL of the Avatar https://i.imgur.com/63aniDJ.png
color Name color. Either hex:rrggbb, rgb:r,g,b or the raw color (integer) as String hex:ffffff
format time format. Example: dd. MMM yyyy dd. MMM yyyy hh:mm:ss zzz
name The username to display Someone
text The actual message to display. Just some string
time Time in epoch-millis System.currentTimeMillis()

Example JSON

{ "avatar": "https://cdn.discordapp.com/avatars/204232208049766400/ae7f2e5247a05791dbf0ef96243622c2.png", "color": "hex:ff0000", "format": "dd. MMM yyyy", "name": "Andre_601", "text": "This is an example.", "time": "" // Uses default value (Current time) }

POST /status

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

Info
Returns image on success.

Parameters

Field Description Default
avatar The URL of the Avatar https://i.imgur.com/63aniDJ.png
status Status for the icon (online, idle, do_not_disturb, dnd or offline) offline

Example JSON

{ "avatar": "https://cdn.discordapp.com/avatars/204232208049766400/ae7f2e5247a05791dbf0ef96243622c2.png", "status": "online" }

GET /img/sfw/:category/:type

Loads a random SFW (Safe for work) image, depending on what category you selected.

Info
Returns JSON with the image link on success.

Link-parameters

Parameter Options Description
:category background, cuddle, holo, hug, icon, kiss, kitsune, lick, neko, pat, poke, slap, tickle The category from where you should get images.
:type gif or img If you want to receive either gifs or images.
gif: cuddle, hug, kiss, lick, neko, pat, poke, slap, tickle
img: background, holo, icon, kitsune, neko, senko

GET /img/nsfw/:category/:type

Loads a random NSFW (Not safe for work) image, depending on what category you selected.

Info
Returns JSON with the image link on success.

Link-parameters

Parameter Options Description
:category blowjob, fuck, neko, solo, threesome_fff, threesome_ffm, threesome_mmf, yuri The category from where you should get images.
:type gif or img If you want to receive either gifs or images.
gif: blowjob, fuck, neko, solo, threesome_fff, threesome_ffm, threesome_mmf, yuri
img: neko

Related Links


Discord

Github

Source Code

Main Site

Provided under the MIT license.