Warning: metalist.py has been deprecated
Please consider using discordlists.py instead which is also available on PyPi.
metalist.py
A simple API wrapper to post Discord bot stats to all known bot lists using metalist.xyz 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.set_auth("botsfordiscord.com", "cfd28b742fd7ddfab1a211934c88f3d483431e639f6564193") # Set authorisation token for a bot list
self.metalist.start_loop() # Posts the server count automatically every 30 minutes
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 issue for? Please report it in a new GitHub issue with as much detail as you can!
Metadata
Release files for metalist.py 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| metalist.py-1.0.2.tar.gz | 5.4 kB | Details |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| metalist.py-1.0.2-py3.6.egg | Legacy Egg format | - | - | Details |
| metalist.py-1.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 21.9 kB
Release files / metalist.py-1.0.2.tar.gz
| Download URL | metalist.py-1.0.2.tar.gz |
|---|---|
| Size | 5.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c01506ddee5541a948e14ea05a8619040d9f7cd78f2859c1d82b2e31028478f3
|
|
BLAKE2b-256 checksum How to use checksums |
aa75dfecad21fe2b1ba8546f16782150784e50ca292416bbf66609a2217bc284
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.4
|
Release files / metalist.py-1.0.2-py3.6.egg
| Download URL | metalist.py-1.0.2-py3.6.egg |
|---|---|
| Size | 8.1 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
70ec4c78cae90000a0bb7a763cd419214fa02e5cfd4c6ba268c7f995d6ff4404
|
|
BLAKE2b-256 checksum How to use checksums |
0ad01f780abf022d32360c2d22e1b2b08edec72caac8d6eca04f3d791b1f4985
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.4
|
Release files / metalist.py-1.0.2-py3-none-any.whl
| Download URL | metalist.py-1.0.2-py3-none-any.whl |
|---|---|
| Size | 8.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3e7b39c36ba3e291d34e0900cf9ccf27ec112a19c8e650fe1a7fdc4cdeb218bc
|
|
BLAKE2b-256 checksum How to use checksums |
c158360d267d21490767d08a6bb06e2860dd94adeff4435dea50990b0ef84277
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.4
|