{"id":18994563,"url":"https://github.com/timelessnesses/kickthespypet-api","last_synced_at":"2026-06-07T16:33:17.992Z","repository":{"id":236406961,"uuid":"792561910","full_name":"timelessnesses/kickthespypet-api","owner":"timelessnesses","description":"A kickthespy.pet API wrapper for Python","archived":false,"fork":false,"pushed_at":"2024-05-12T02:40:06.000Z","size":46,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-09T15:38:05.697Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/timelessnesses.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-04-26T23:55:33.000Z","updated_at":"2024-05-12T02:40:09.000Z","dependencies_parsed_at":"2024-05-12T00:21:43.599Z","dependency_job_id":"fc0746b8-b470-48b6-8870-2bce39e686c3","html_url":"https://github.com/timelessnesses/kickthespypet-api","commit_stats":null,"previous_names":["timelessnesses/kickthespypet-api"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timelessnesses%2Fkickthespypet-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timelessnesses%2Fkickthespypet-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timelessnesses%2Fkickthespypet-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timelessnesses%2Fkickthespypet-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/timelessnesses","download_url":"https://codeload.github.com/timelessnesses/kickthespypet-api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240010019,"owners_count":19733513,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-08T17:26:02.054Z","updated_at":"2026-04-15T20:30:17.931Z","avatar_url":"https://github.com/timelessnesses.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# kickthespypet-api\n\nA kickthespy.pet API wrapper for Python with fully documented and type-annotated. All API are made using [the javascript file from the website](https://kickthespy.pet/main.js)\n\n## Installing\n\n```shell\npip install git+https://github.com/timelessnesses/kickthespypet-api\n# or\npip install kickthespypet-api\n```\n\n## Examples\n\n```python\nimport kickthespypet_api\n\nclient = kickthespypet_api.KickTheSpyPetAPI()\nclient.get_bot_by_server_id(20).id\nclient.get_bot_by_server_invite(\"server invite here\")\nfor bot in client.get_bot_user_ids_int():\n    await (await bot_client.fetch_user(bot)).ban()\\\nclient.close()\n\n# or you can use `with`\n\nwith kickthespypet_api.KickTheSpyPetAPI() as client:\n    # do stuff\n# closed automatically once done\n\n```  \n\nAsync:  \n\n```python\nimport kickthespypet_api\n\nclient = kickthespypet_api.AsyncKickTheSpyPetAPI()\nstuff = await client.get_bot_by_server_id(1000)\nprint(stuff)\nawait client.close()\n\n# or you can use `async with`\n\nasync with kickthespypet_api.AsyncKickTheSpyPetAPI() as client:\n    # do stuff\n# closed automatically once done\n\n```\n\n`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`.  \nReminder: if you don't use `(async) with`, you need to close the session by yourself.\n\n## This is NOT fully documented and STABLE\n\nDue to [kickthespy.pet](https://kickthespy.pet) doesn't have official documentation on their responses, I really can't document every values or states that [kickthespy.pet](https://kickthespy.pet) can send. Please open pull request for that if you know it's type and documentation. Check out at `kickthespypet_api/types.py` for list of `Unknown` types and unknown documentation of the value.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimelessnesses%2Fkickthespypet-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftimelessnesses%2Fkickthespypet-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimelessnesses%2Fkickthespypet-api/lists"}