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 hashes)

Uploaded Source

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