Skip to main content

A Python Wrapper for the DanBotHosting API

Project description


A Python API Wrapper for the DanBot Hosting API


For Windows:

pip install danbot-hosting-py

For Linux/MacOS

pip3 install danbot-hosting-py

Quick Example

from discord.ext import commands
from danbot_api import DanBotClient

bot = commands.Bot(command_prefix='>', description="This is a Helper Bot")

async def on_ready():
    DanBotClient(bot, key="your_dbh_key", autopost=True)
    print('Bot is Online')

async def on_dbh_post(data):
    print("Posted Bot Data to DBH. Data Posted:")

async def ping(ctx):
    await ctx.send('pong!')"your bot's token here")


How do you get an API key?

Go to the discord server and use the DBH!ApiKey command in a respective text channel there!

I'm having trouble with the module

You may post at the issues section in Github or message me on Discord! (Makiyu^#4707)


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

danbot-hosting-py-1.0.tar.gz (5.3 kB view hashes)

Uploaded source

Built Distribution

danbot_hosting_py-1.0-py3-none-any.whl (6.3 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page