the next generation of capybara APIs.

~ curl 'https://api.capy.lol/v1/capybara?json=true' \
   -H 'authority: api.capy.lol' \
   -H 'accept: */*' \
   -H 'accept-language: en-US,en;q=0.9' \
   -H 'sec-ch-ua: ".Not/A)Brand";v="99", "Google Chrome";v="103", "Chromium";v="103"' \
   -H 'sec-ch-ua-mobile: ?0' \
   -H 'sec-ch-ua-platform: "macOS"' \
   -H 'sec-fetch-dest: empty' \
   -H 'sec-fetch-mode: cors' \
   -H 'sec-fetch-site: cross-site' \
   -H 'user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36' \
   --compressed

documentation

GET v1/capybara

GET a random picture of a capybara.
GET https://api.capy.lol/v1/capybara

For JSON format...
GET https://api.capy.lol/v1/capybara?json=true

GET v1/capybara/:index

GET a picture of a capybara.
GET https://api.capy.lol/v1/capybara/100

For JSON format...
GET https://api.capy.lol/v1/capybara/100?json=true

GET v1/capybaras

GET a JSON list of capybaras (default 25 a request)
GET https://api.capy.lol/v1/capybaras

With random parameter...
GET https://api.capy.lol/v1/capybaras?random=true

With take parameter...
GET https://api.capy.lol/v1/capybaras?take=50

With from parameter...
GET https://api.capy.lol/v1/capybaras?from=50

With take and from parameter...
GET https://api.capy.lol/v1/capybaras?from=50&take=10

GET v1/capyoftheday

GET the capy of the day! (refreshes every 24hrs)
GET https://api.capy.lol/v1/capyoftheday

For JSON format...
GET https://api.capy.lol/v1/capyoftheday?json=true

GET v1/capyhour

GET the capy of the hour! (refreshes every hour)
GET https://api.capy.lol/v1/capyhour

For JSON format...
GET https://api.capy.lol/v1/capyhour?json=true

GET v1/fact

GET a fact about capybaras! (theres only a few for now... :(, but you can contribute!)
GET https://api.capy.lol/v1/fact

GET v1/facts

GET many facts about capybaras!
GET https://api.capy.lol/v1/facts

With from parameter...
GET https://api.capy.lol/v1/facts?from=10

With take parameter...
GET https://api.capy.lol/v1/facts?take=5

With take and from parameter...
GET https://api.capy.lol/v1/facts?from=5&take=10