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

Metadata

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 Provenance Actions
hbcapi-0.2.1.tar.gz 2.2 kB Without provenance Details for hbcapi-0.2.1.tar.gz

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

Security for hbcapi 0.2.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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