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 details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file thecatapi-sdk-0.0.1.tar.gz.
File metadata
- Download URL: thecatapi-sdk-0.0.1.tar.gz
- Upload date:
- Size: 6.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6754be7ed55d7eb4e6849b166e4a967624d16c514c13fbf9d2bc8207036b2906
|
|
| MD5 |
e2e237711cf9db22337c99626fe3d315
|
|
| BLAKE2b-256 |
f9e8314573ee4effb7052e8e8686f5ef51147b0d9f50b6c4139cd2c70665ff51
|
File details
Details for the file thecatapi_sdk-0.0.1-py3-none-any.whl.
File metadata
- Download URL: thecatapi_sdk-0.0.1-py3-none-any.whl
- Upload date:
- Size: 8.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
94a05feb3982fe4892ec1a091bee2e9e92dd2d19e948117aa3f3efdfa18fb31f
|
|
| MD5 |
9c1be788f3d6f45139f116cea5caa5e7
|
|
| BLAKE2b-256 |
f4d2f5d666a63ecc167e967794d99441cd2b6389e4972f121fbbb67d453e36c3
|