Skip to main content

kickthespy.pet API wrapper

Project description

kickthespypet-api

A kickthespy.pet API wrapper for Python with fully documented and type-annotated. All API are made using the javascript file from the website

Installing

pip install git+https://github.com/timelessnesses/kickthespypet-api
# or
pip install kickthespypet-api

Examples

import kickthespypet_api

client = kickthespypet_api.KickTheSpyPetAPI()
client.get_bot_by_server_id(20).id
client.get_bot_by_server_invite("server invite here")
for bot in client.get_bot_user_ids_int():
    await (await bot_client.fetch_user(bot)).ban()

AsyncKickTheSpyPetAPI is same API as KickTheSpyPetAPI but all of HTTP requests will be made with aiohttp instead of requests and they are asynchronous so you need to await

This is NOT stable

This module is not YET been confirmed to work in every situation and some requests might fails. Please open an issue for that.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kickthespypet_api-0.0.2.tar.gz (8.0 kB view hashes)

Uploaded Source

Built Distribution

kickthespypet_api-0.0.2-py3-none-any.whl (8.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page