Endpoints

Ping the server
https://api.catboys.com/ping
(try it out)

Example response
{
"catboy_says": "rawr",
"error": "none"
"code": 200
}

Returns an array of endpoints
https://api.catboys.com/endpoints
(try it out)

Example response
[
"GET,OPTIONS,HEAD     /ping",
"GET,OPTIONS,HEAD     /endpoints",
"GET,OPTIONS,HEAD     /img",
"GET,OPTIONS,HEAD     /baka",
"GET,OPTIONS,HEAD     /8ball",
"GET,OPTIONS,HEAD     /catboy"
]

Returns a random image
https://api.catboys.com/img
(try it out)

Example response
{
"url": "https://cdn.catboys.com/images/image_73.jpg",
"artist": "CoverDesign1",
"artist_url": "https://www.deviantart.com/coverdesign1",
"source_url": "https://www.deviantart.com/coverdesign1/art/Artiste-Iya-Chen-Render-396950935",
"error": "none"
}

Returns a random baka gif
https://api.catboys.com/baka
(try it out)

Example response
{
"url": "https://cdn.catboys.com/images/baka/baka_2.gif",
"error": "none"
}

Returns a random saying from a virtual 8ball
https://api.catboys.com/8ball
(try it out)

Example response
{
"response": "Go for it",
"url": "https://cdn.catboys.com/8ball/yes.png",
"error": "none"
}

Returns a random number and image from a virtual 6-sided dice
https://api.catboys.com/dice
(try it out)

Example response
{
"response": "3",
"url": "https://cdn.catboys.com/dice/3.png",
"error": "none"
}

Returns a random saying from a virtual catboy
https://api.catboys.com/catboy
(try it out)

Example response
{
"response": "uwu",
"error": "none"
}