A bots for discord api handler made by Luke#6723
Project description
Bots for discord API handler for Python
This is an api handler that I made for the Bots for Discord (Bot list)
Install
To use this you can install it using pip:
pip install botsfordiscordapi
Example usage
import botsfordiscordapi
#Authorize
## API Version is currently 'v1' but may update in the future
bfd = botsfordiscordapi.login(token, api_version)
#Push server count (Requires token)
bfd.push(bot_id, server_count)
#Get a bot on the list (If it exists)
bfd.get(bot_id)
Example Responses
GET Response:
{
"approved": false,
"avatar": "",
"count": 1000000, // Server count
"id": "",
"invite": "",
"longDesc": "",
"name": "",
"owner": "",
"ownername": "",
"ownernametwo": "",
"prefix": "",
"shortDesc": "",
"theme": "",
"timestamp": ,
"type": "",
"verified": false,
"verifyqueue": false,
"website": ""
}
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
botsfordiscordapi-0.5.tar.gz
(1.9 kB
view details)
File details
Details for the file botsfordiscordapi-0.5.tar.gz.
File metadata
- Download URL: botsfordiscordapi-0.5.tar.gz
- Upload date:
- Size: 1.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
08ebdd07de02b2c1398490545e8257312ebbc93135dadc1e56e7f4ae64b7c290
|
|
| MD5 |
d7eaae761003831273f8642500b63720
|
|
| BLAKE2b-256 |
b932b2bb525c226b1f188bb8047d54fe0c14301368c0b97909000f2231c3d3ce
|