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 hashes)

Uploaded Source

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