semvec/pypi-packages huggingface dataset:
hbcapi 0.2.1
The official hydrogenbotsclub api wrapper
License: MIT
Keywords: hydrogenbotsclub,discord,club,hydrogen,hydrogenstudio

hbcapi
======

Description
-----------

This is the official api wrapper for hydrogenbots.club

importing and defining
======================

import
------

``pip install hbcapi``

define the library in your code
-------------------------------

.. code:: py

   import hbcapi

   HBC = hbcapi.access("auth_token")

Methods
=======

poststats
---------

post the servercount for your bot

.. code:: py

   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

.. code:: py

   print(HBC.poststats()) #print the response