The official hydrogenbotsclub api wrapper
Project description
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(guildcount)) #guildcount is type of numbers, print the response
voters
get an array of all of the voters that have voted for your bot
print(HBC.poststats()) #print the response
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
hbcapi-0.1.0.tar.gz
(2.2 kB
view details)
File details
Details for the file hbcapi-0.1.0.tar.gz
.
File metadata
- Download URL: hbcapi-0.1.0.tar.gz
- Upload date:
- Size: 2.2 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c8c6beff7556e6703afdf358ea2af6c20b5c7f46068c03a99f01f25d400b9a6 |
|
MD5 | fbc90388804e6233622a9bfd93f9aef1 |
|
BLAKE2b-256 | 1b944d2d02229dcbac91bf4b81b1d1599aa61c9714f269b176c26b75bfc67f86 |