Skip to main content

A simple API wrapper for Top.gg written in Python.

Project description

View on PyPi v1.0.0 Documentation Status

A simple API wrapper for Top.gg written in Python, supporting discord.py.

Installation

Install via pip (recommended)

pip3 install topggpy

Install from source

pip3 install git+https://github.com/top-gg/python-sdk/

Documentation

Documentation can be found here

Features

  • POST server count

  • GET bot info, server count, upvote info

  • GET all bots

  • GET user info

  • GET widgets (large and small) including custom ones. See docs.top.gg for more info.

  • GET weekend status

  • Built-in webhook to handle Top.gg votes

  • Automated server count posting

  • Searching for bots via the API

Additional information

  • Before using the webhook provided by this library, make sure that you have specified port open.

  • Optimal values for port are between 1024 and 49151.

  • If you happen to need help implementing topggpy in your bot, feel free to ask in the #development or #api channels in our Discord server.

Examples

For examples, follow the link here

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

topggpy-disnake-2.1.tar.gz (18.9 kB view details)

Uploaded Source

File details

Details for the file topggpy-disnake-2.1.tar.gz.

File metadata

  • Download URL: topggpy-disnake-2.1.tar.gz
  • Upload date:
  • Size: 18.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.4

File hashes

Hashes for topggpy-disnake-2.1.tar.gz
Algorithm Hash digest
SHA256 dfa77ccfee9ad54736542ba12b8e55d8159f73065a4a8427788d0eb04bd1ad59
MD5 8dbb13fe8ed08358dd42b3e2e0c43d1d
BLAKE2b-256 48acc76c8f3e54702fde4c3d48a83ef4ae6393c312d258b911ea40432fa2b4cb

See more details on using hashes here.

Supported by

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