Skip to main content

A simple API wrapper for written in Python.

Project description


Warning: has been deprecated

Please consider using instead which is also available on PyPi.

A simple API wrapper for written in Python.


Install via pip (recommended)

pip install


  • POST server count
  • AUTOMATIC server count updating
  • GET bot info
  • GET global bot list
  • GET bot list for a specific user
  • GET widgets url
  • SEARCH for bots

Example Rewrite cog

    import bfd
    import discord
    from discord.ext import commands

    class BotsForDiscord:
        def __init__(self, bot):
   = bot
            self.token = 'token'  # set this to your BFD token
            self.bfd = bfd.Client(, self.token)  # Create a Client instance
            self.bfd.start_loop()  # Posts the server count every 30 minutes

        async def botinfo(self, ctx, bot: discord.User): # unfiltered botinfo demo
            info = await self.bfd.get_bot(
            if info is None:
                await ctx.send("Can't find this bot on BFD")

            embed = discord.Embed(title="BotInfo")
            for key, value in info.as_dict().items():
                if key == "" or value == "":

                embed.add_field(name=key, value=str(value))

            await ctx.send(embed=embed)

    def setup(bot):

Discussion, Support and Issues

For general support and discussion of this project, please join the Discord server:
Discord Server

To check known bugs and see planned changes and features for this project, please see the GitHub issues.
Found a bug we don't already have an issue for? Please report it in a new GitHub issue with as much detail as you can!

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for, version 1.0.2
Filename, size File type Python version Upload date Hashes
Filename, size (8.7 kB) File type Egg Python version 3.6 Upload date Hashes View
Filename, size (8.9 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size (18.7 kB) File type Source Python version None Upload date Hashes View

Supported by

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