Gary & Goober API Documentation

A RESTful API providing random images, quotes, and jokes with structured JSON responses

API Information

Base URL: https://api.garythe.cat

All endpoints return JSON responses unless otherwise specified. Images include extracted numeric IDs from filenames.

GET /gary

Retrieves a random Gary image URL with its extracted numeric identifier from the filename.

{
  "url": "https://api.garythe.cat/Gary/Gary76.jpg",
  "number": 76
}

GET /gary/image

Returns a random Gary image directly as binary JPEG data for immediate display or download.

GET /goober

Retrieves a random Goober image URL with its extracted numeric identifier from the filename.

{
  "url": "https://api.garythe.cat/Goober/goober8.jpg",
  "number": 8
}

GET /goober/image

Returns a random Goober image directly as binary JPEG data for immediate display or download.

GET /quote

Retrieves a random inspirational quote from the configured quote collection.

{
  "quote": "Be yourself; everyone else is already taken."
}

GET /joke

Retrieves a random joke from the collection for entertainment purposes.

{
  "joke": "Why don't scientists trust atoms? Because they make up everything!"
}