Kawaii API
  • 👋Getting Started
  • 🏠Request Structure
  • Endpoints
    • 📝Text
    • 🌅Image
    • 🎬GIF
    • 📊Stats
  • Tutorials
    • 🔑Token
    • 📁Type
    • 🗃️Filter
    • ✉️Request
  • Website
  • Home
  • Information
  • Example
  • Status
  • Support
  • Dashboard
  • GitHub
Powered by GitBook
On this page
Export as PDF
  1. Tutorials

🗃️Filter

Everything you need to know regarding response filter.

PreviousTypeNextRequest

Last updated 2 years ago

CtrlK
  • What exactly does it filter?
  • How do I know what number to filter?

What exactly does it filter?

If you don't like an response, for example a gif, you can exclude it with the filter. This gives you more control over what the api responds.

Filter works only for the main endpoints Image and GIF.

Usage:

https://kawaii.red/api/gif/kiss?token=token&filter=[1,2]

The filter must be a array of integers.

How do I know what number to filter?

If you look at the url of the output gif/image there is always a number you have to filter this number to not get the gif anymore.

https://api.kawaii.red/gif/kiss/kiss1.gif