Edblpy
Edblpy is an unofficial python module utilizing the electro discord bot list [api](https://www.edbl.xyz/api) . Easy to use and well documented!Getting started
- You must have ython 3*
- A bot's / user's id
- Install the module using pip :
pip install edblpy - Import what you need :
from edblpy import Botorfrom edblpy import User - View more about usage in the docs section
Docs
Class : Bot
Params ( name , description , type , default )
id : The bot's id (Required when retrieving info) : integer : None
token : Your token (Required when posting the bot's status) : string : None
Methods ( name , description , params , returns)
get_info : Gets the bot's info : None : Dict
post_status : Posts the server/user count to the DB , requires auth : user_count , server_count : Dict
Class : User
Params ( name , description , type , default )
id : The user's id (Required) : integer : None
Methods ( name , description , params , returns)
get_info : Gets the user's info : None : Dict
Examples
Getting a user's info
from edblpy import User
jake = User(480407581085532180)
print(jake.get_info())
Getting a bot's info
from edblpy import Bot
mika = Bot(631669116926820353)
print(mika.get_info())
Posting a bot's status
from edblpy import Bot
mika = Bot(631669116926820353 , 'YOUR_SUPER_SECRET_TOKEN')
print(mika.post_status(user_count=100 , server_count=100)) # you should probably make the counts dynamic
Metadata
Release files for edblpy 1.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| edblpy-1.4.0.tar.gz | 2.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| edblpy-1.4.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.4 kB
Release files / edblpy-1.4.0.tar.gz
| Download URL | edblpy-1.4.0.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5f7150e52b295c1237be7749213639af8f867c4c33e6b7e5397ed4e2dd58c838
|
|
BLAKE2b-256 checksum How to use checksums |
0c811fa143ab77fc4c71e86b3b4a310964bab7085eb3ee5b90f13b1b921c781d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.44.1 CPython/3.7.4
|
Release files / edblpy-1.4.0-py3-none-any.whl
| Download URL | edblpy-1.4.0-py3-none-any.whl |
|---|---|
| Size | 3.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
844ac3d980f93d60b6fafeefb03a826b864f48f47d9a765e9d36848203974e36
|
|
BLAKE2b-256 checksum How to use checksums |
b9cf9afae864a8a1562ecd42b3b9ff525fcd9a30081cfb70bb94b603b0e5161f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.44.1 CPython/3.7.4
|