Skip to main content

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(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

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

hbcapi-0.2.1.tar.gz (2.2 kB view details)

Uploaded Source

File details

Details for the file hbcapi-0.2.1.tar.gz.

File metadata

  • Download URL: hbcapi-0.2.1.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

Hashes for hbcapi-0.2.1.tar.gz
Algorithm Hash digest
SHA256 5f52017c0420466c97799a716c3e17bfa91a43433bad343b6e824306f19739ec
MD5 d4324038118b8f7b4dbfd24bd3560724
BLAKE2b-256 eb3018f40912b60c3211e54dd64f37c7dcb10f28d5819ae22d1d134edf262a3d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page