Skip to main content

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)

Source distribution for hbcapi 0.2.1
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

Release history Release notifications | RSS feed

This release

0.2.1 This release

1 release file

0.2.0

1 release file

0.1.0

1 release file

0.0.5

1 release file

0.0.4

1 release file

0.0.3

1 release file

0.0.2

1 release file

0.0.1

1 release file

0.0.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page