GIF image
GET
/v1/gifs/{slug}/{size}
const url = 'https://api.gampeon.com/v1/gifs/example/sm';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.gampeon.com/v1/gifs/example/smThe animated image (WebP, or GIF if KLIPY has no WebP) from KLIPY, delivered by the API. sm is the small preview for the picker, md the size in posts and comments. Only GIFs that came from a search or are attached to a post. Cached for a day.
Rate limit: 1,500 per 10 minutes per IP address.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”slug
required
string
GIF ID
size
required
string
sm or md
Responses
Section titled “Responses”The image
Media typeimage/webp, image/gif
string format: binary
Error codes: not_found
Media typeapplication/json
object
error
required
Machine-readable error code, for example not_found or rate_limited.
string
message
Human-readable detail. Only present for some errors.
string
Example generated
{ "error": "example", "message": "example"}Limit: 1,500 per 10 minutes per IP address. Error codes: rate_limited
Media typeapplication/json
object
error
required
Machine-readable error code, for example not_found or rate_limited.
string
message
Human-readable detail. Only present for some errors.
string
Example generated
{ "error": "example", "message": "example"}