Python wrapper for making secure requests to TheCatAPI
Project description
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()
Contribution & Issues
- Simply fork the repo, make changes and make a pull request
- You can open an issue for support or suggestions
Author
Ackowledgements
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
thecatapi-sdk-0.0.1.tar.gz
(6.6 kB
view hashes)
Built Distribution
Close
Hashes for thecatapi_sdk-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 94a05feb3982fe4892ec1a091bee2e9e92dd2d19e948117aa3f3efdfa18fb31f |
|
MD5 | 9c1be788f3d6f45139f116cea5caa5e7 |
|
BLAKE2b-256 | f4d2f5d666a63ecc167e967794d99441cd2b6389e4972f121fbbb67d453e36c3 |