Skip to content

Latest commit

 

History

History
78 lines (55 loc) · 3.21 KB

README.md

File metadata and controls

78 lines (55 loc) · 3.21 KB

Cute Cat Avatars Build Status

An illustrated cat collection for cat lovers


What is this?

Cute Cat Avatars are colorful cats illustrated by Drew Rattana that can be used as profile picture placeholders for live websites or design mock ups.

How to use

You can easily use these cats in img tags or http requests, the response will be a cat in Content-Type: image/svg+xml. The url to request is https://cute-cat-avatars.fly.dev/api/v1/:seed for example:

HTML

<img
  src="https://cute-cat-avatars.fly.dev/api/v1/announcer"
  alt="Cute announcer cat"
/>

Javascript

fetch("https://cute-cat-avatars.fly.dev/api/v1/cat").then(function (response) {
  document.getElementById("cat").src = response.url
})

Pick your cat

There are multiple ways you can query for a cute cat. The same seed will always return the same cat:

api/v1/:seed
api/v1/12

You can query a specific cat or a string to get a random cat.

/api/v1/announcer
/api/v1/!@#$%

Try them all!

  • announcer
  • support
  • idea
  • bug
  • award
  • news
  • tv
  • comic
  • book
  • art
  • gaming
  • general
  • groups
  • cat

License

MIT