Cat

get
Get Image

https://nyxbot.xyz/api/v1/cat
This API setting is set to be updated coming new pictures of Cattos. Lets you retrieve an image of a cat!
Request
Response
Request
Path Parameters
/random
optional
string
Returns a randomized URL to a Cat image. (Use this when there are no arguments)
/{number}
optional
string
Request an individual Cat image.
Response
200: OK
Successfully retrieved image
{ "number": {imagenumber}, "total": {totalimages}, "isvalid": yes "URL": {imageURL}
404: Not Found
The API sends a 404 message when the requested image does not exist. Creating a message with the 404 error is possible, but still returns a 404 image.
{ "number": 0, "total": {totalimages}, "isvalid": no "URL": https://i.awoo.ml/404.png}

JSON Body

"isvalid" is set on whether or not "number" is in range of "total"