Skip to content

UnrealFar/pycatapi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyCatApi

PyCatApi is a Python wrapper for TheCatApi written by TheFarGG

Example usage

#Define our client here
c = Client()

#Lets get a random cat image UwU

img = asyncio.run(c.get_cat())
pprint(f"Cat\n{img}")

#Get an image of a cat belonging to a specific breed

breedimg = asyncio.run(c.get_breed("beng"))
pprint(f"Cat by breed\n{breedimg}")

This will give us the url to a cat image 🐈

About

An API wrapper for TheCatApi UwU

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages