Skip to main content

A new, modern API wrapper for top.gg

Project description

Top.py

issues: unresolved pull requests: unresolved version: unresolved supported python versions: unresolved downloads: unresolved code style: black discord.py version: 1.x, 2.0a

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

Experiencing an issue?

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

top.py-1.3.1.tar.gz (16.8 kB view details)

Uploaded Source

Built Distribution

top.py-1.3.1-py3-none-any.whl (19.0 kB view details)

Uploaded Python 3

File details

Details for the file top.py-1.3.1.tar.gz.

File metadata

  • Download URL: top.py-1.3.1.tar.gz
  • Upload date:
  • Size: 16.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.5

File hashes

Hashes for top.py-1.3.1.tar.gz
Algorithm Hash digest
SHA256 e8909acf6e8af54c26b0614b5e8733c816a3241f0b5d4935809958a46a5517a3
MD5 c2cc76d2fbec11d576c827daaab82ace
BLAKE2b-256 c6278f5939f6781f61db7e8a75f26c18da38fc4202c8945430eb4175bf0a075f

See more details on using hashes here.

File details

Details for the file top.py-1.3.1-py3-none-any.whl.

File metadata

  • Download URL: top.py-1.3.1-py3-none-any.whl
  • Upload date:
  • Size: 19.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.5

File hashes

Hashes for top.py-1.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 90734ad432e335493acda606ab2adc605175453890b36631172e0c51c4a50feb
MD5 4212a8225953546a8c1104f2141b02b4
BLAKE2b-256 f24996a568e5d67939b48168a76692fdfa1d6878221c5405c3d752a3684947da

See more details on using hashes here.

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