🏠Request Structure
Understanding the request structure is the most important thing, so it is kept as simple as possible.
Base Url
The base url to retrieve the api is this:
The output urls are under the domain api.kawaii.red this cannot be used as base url.
Main Endpoint
The main endpoint categorizes the sub endpoints, there are the following main endpoints:
Text Endpoint:
Image Endpoint:
GIF Endpoint:
Stats Endpoint:
Sub Endpoint
This is the true endpoint here you define exactly what you want from the API.
To see a list of all endpoints either add the term "endpoints" as sub endpoint or look at the category list:
Token
The token is essential to associate your api requests to you and to display the stats correctly.
If you want to know more check here:
Type
Type is an optional argument that affects the output of the api, you can choose between json and text.
If you want to know more check here:
The default type is json.
Filter
Filter is an optional argument that affects the output of the api, you can basically filter out every response.
If you want to know more check here:
The filter must be a array of integers.
Using multiple arguments
If you want to use more than one argument, which occurs as soon as you use the type or the filter, you have to separate them with a &.
The omission of the & can lead to the fact that only one argument is recognized.
Last updated