Cat as a service (CATAAS) (original) (raw)

Url Description Example
/cat?type=:type Will return a random cat with image :type (xsmall, small, medium or square) Random cat with type
/cat?filter=:filter Will return a random cat with image filtered by :filter (blur, mono, negate or custom) Random cat filtered
/cat?filter=custom&brightness=:brightness&lightness=:lightness&saturation=:saturation&hue=:hue Will return a random cat with image filtered by :brightness, :lightness, :saturation and :hue Random cat filtered
/cat?filter=custom&r=:red&g=:green&b=:blue Will return a random cat with image filtered by :red, :green and :blue Random cat filtered
/cat?width=:width or /cat?height=:height Will return a random cat with :width or :height Random cat with custom size
/cat?html=true Will return a random cat in a HTML page, usefull for Twitter or Facebook embedded render Random cat in HTML
/cat?json=true Will return a random cat in a JSON object Random cat in JSON
/cat/gif/says/Hello?filter=mono&fontColor=orange&fontSize=20&type=square Mix 'em all :D Combo