A simple API wrapper to post Discord bot stats to all known bot lists using themetalist.org data.
Project description
metalist.py
A simple API wrapper to post Discord bot stats to all known bot lists using themetalist.org data.
Installation
Install via pip (recommended)
pip install metalist.py
Features
- POST server count
- AUTOMATIC server count updating
- ALL bot lists' APIs included
Example Discord.py Rewrite cog
import metalist
class Stats:
def __init__(self, bot):
self.bot = bot
self.metalist = metalist.Client(self.bot) # Create a Client instance
self.metalist.start_loop() # Posts the server count every 30 minutes
self.metalist.set_auth("botsfordiscord.com", "cfd28b742fd7ddfab1a211934c88f3d483431e639f6564193") # Set authorisation token for a bot list
def setup(bot):
bot.add_cog(Stats(bot))
Discussion, Support and Issues
For general support and discussion of this project, please join the Discord server: https://discord.gg/qyXqA7y
To check known bugs and see planned changes and features for this project, please see the GitHub issues.
Found a bug we don't already have an iss
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
metalist.py-1.0.0.tar.gz
(5.2 kB
view hashes)
Built Distributions
metalist.py-1.0.0-py3.6.egg
(8.0 kB
view hashes)
Close
Hashes for metalist.py-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7374d9d54e57260fe0194f5b19be447b85e3249891c1e3737d57d8595991a38d |
|
MD5 | f885ea9245e3f0097228295ec57d6ec0 |
|
BLAKE2b-256 | cb1ec7426e46f19716af7ffd94a3622ad81d5ec901a350f88c0dd0d2a1438316 |