hbcapi
Description
This is the official api wrapper for hydrogenbots.club
importing and defining
import
pip install hbcapi
define the library in your code
import hbcapi
HBC = hbcapi.access("auth_token")
Methods
poststats
post the servercount for your bot
print(HBC.poststats(guild, shard)) #guild - the guildcount of the bot shard-the shard count of the bot, print the response
voters
get an array of all of the voters that have voted for your bot
print(HBC.poststats()) #print the response
Release files for hbcapi 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| hbcapi-0.2.1.tar.gz | 2.2 kB | Details |
Release files / hbcapi-0.2.1.tar.gz
| Download URL | hbcapi-0.2.1.tar.gz |
|---|---|
| Size | 2.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5f52017c0420466c97799a716c3e17bfa91a43433bad343b6e824306f19739ec
|
|
BLAKE2b-256 checksum How to use checksums |
eb3018f40912b60c3211e54dd64f37c7dcb10f28d5819ae22d1d134edf262a3d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/49.3.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.2
|