👋Getting Started
The API can be used with any programming language, some examples can be found here: https://github.com/Kawaii-API/Examples
Last updated
The API can be used with any programming language, some examples can be found here: https://github.com/Kawaii-API/Examples
Last updated
To get a token you must first login to your dashboard where you will find your personal api token.
If you don't want to log in or you think the stat functions are necessary you can use the token anonymous
instead of your token so you can still use the api but you will miss some functions.
If you want to know more about the token (how, why and where) you can check here:
For testing you can make the api requests also via the browser.
GET
https://kawaii.red/api/MAIN/SUB?token=TOKEN&type=TYPE&filter=FILTER
The structure of the request system.
MAIN*
Endpoint
Here you make the rough choice which main endpoint you want to target.
SUB*
Endpoint
Here you make the selection of which endpoint you want to go to in the previously selected category.
TOKEN*
String
Here comes your api token or anonymous in (note the token information).
FILTER
List
With the filter you can filter possible unwanted responses so that the api does not return them.
TYPE
String
You can specify the type of response depending on what is easier for you to implement.
GET
https://kawaii.red/api/gif/hug?token=anonymous
You can open this link in your browser.
gif*
MAIN
The category Gif Endpoints.
hug*
SUB
The hug endpoint.
anonymous*
TOKEN
The token in this case is the anonymous one which has no stats function.
The new way is completely header-based, so please use an extra tool for testing.
GET
https://kawaii.red/api/main/sub
main*
Endpoint
Here you make the rough choice which main endpoint you want to target.
sub*
Endpoint
Here you make the selection of which endpoint you want to go to in the previously selected category.
token*
String
Here comes your api token or anonymous in (note the token information).
type
String
You can specify the type of response depending on what is easier for you to implement.
filter
List
With the filter you can filter possible unwanted responses so that the api does not return them.
GET
https://kawaii.red/api/gif/hug
gif*
main
The category Gif Endpoints.
hug*
sub
The hug endpoint
anonymous*
token
The token in this case is the anonymous one which has no stats function.
The api always returns a 200: OK message even for wrong requests, however it gives an error message out with the exact reason should something be wrong.
Error layout:
Here you will find a detailed explanation for all cases and with more detailed explanations of how it works:
Currently not yet ready. I'm sorry.
Currently not yet ready. I'm sorry.
Through this endpoint you can query many different anime GIFs.
Here you can query your stats or your complete database entry.