Skip to content

ize-302/thecatapi-py-sdk

Repository files navigation

TheCatAPI Python SDK

Python wrapper for making secure requests to TheCatAPI

Getting started

  • Create an account on TheCatAPI.com
  • An API Key will be sent to you via mail

Installation

pip install thecatapi-sdk

from thecatapi import TheCatAPI

# create an instance
catapi = TheCatApi("API_KEY HERE")

Sample request

# List of images
catapi.images.get_images(limit=10)

-------------------------

# Get image by image ID 
catapi.images.get_image('2bbSbBC-v')

-------------------------

# list votes
catapi.votes.get_votes()

Read full documentation here

Contribution & Issues

  • Simply fork the repo, make changes and make a pull request
  • You can open an issue for support or suggestions

Author

Adavize Hassan

Ackowledgements

About

Python wrapper for making secure requests to TheCatAPI

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages