A new, modern API wrapper for the top.gg API
Project description
Top.py
An alternative wrapper for the top.gg API
Please note, this is not an official package from top.gg. We are not affiliated with top.gg in any way. If you want to install their official package, please see their repo.
Introduction
Warning! top.py is not tested to be compatible with discord.py forks, or any other library than the official discord.py library. If you encounter issues when using another library, please open an issue with as much detail and support will be added.
top.py is a python wrapper for the top.gg discord bot list API. top.py aims to be object-oriented, whereas the official top.gg python SDK is more low-level raw data.
Installation
You can install the latest stable release here:
pip install top.py
But, if you're reading this, you're most likely a developer - you should know how to install packages by now.
Examples
You can see examples in the examples.md file.
Supported Features
Feature Name | Supported? |
---|---|
Automatic posting of server count | ✅ |
Searching/Bulk Querying Bots | ✅ |
Fetching a bot | ✅ |
Fetching a user | ✅ |
Fetching last 1000 upvotes | ✅ |
Fetching a bot's stats | ✅ |
Checking individual user vote | ✅ |
Manual posting server count | ✅ |
Models for all individual endpoints | ✅ |
In-house ratelimiting | ✅ |
Vote Webhooks | ✅ |
Making you a nice slice of toast | ❌ |
NOTE: We do NOT currently provide official support for discord server list. That's coming soon.
top.py features:
- Object-Oriented (No-more shall you faff about with dictionaries)
- Sensible function names & arguments
Useful links
support (or mention @eek#7574 in top.gg) | docs | PyPi | examples | (META) Code Of Conduct | (META) Contributing Guidelines
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
Built Distribution
File details
Details for the file top.py-1.4.1.tar.gz
.
File metadata
- Download URL: top.py-1.4.1.tar.gz
- Upload date:
- Size: 17.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e81ae80d694bb642c91dc6eba096ccc95ab846552bd20028b0dd92856c078927 |
|
MD5 | 3c7f6e9ebdbb1a07cdb8d0301ac50f0f |
|
BLAKE2b-256 | f6c69ed7c3e377ee072aa5764df8a88091caaf06637c7669bae2476c8df44671 |
File details
Details for the file top.py-1.4.1-py3-none-any.whl
.
File metadata
- Download URL: top.py-1.4.1-py3-none-any.whl
- Upload date:
- Size: 20.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 170d85a886e9d45747fae5dc691ddfa5c3f1c6a818f6d7136bee38fd2c9e29c4 |
|
MD5 | 7d549afc29ae9a88e4e5acb0922e6c6c |
|
BLAKE2b-256 | 80e8ce59eaba2f90a34cbf12ba72b52fffcd4289d2834f25fe92c73aeadbb04e |