Skip to main content

Python api wrapper for infinity bot list

Project description

IBL

Python API Wrapper for https://infinitybots.xyz

POST BOT STATS

await ibl.post_stats(bot_id, auth_token, servers, shards=0)

Example:

import discord
from discord.ext import tasks

@tasks.loop(minutes=30)
async def update_ibl():
    await ibl.post_stats(bot.user.id, "auth_token", len(bot.guilds))

GET USER INFO

await ibl.user_info(id)

Returns:

user.username

  • String

user.about

  • String

user.certified_dev

  • BOOL

user.staff

  • LIST/ARRAY

user.developer

  • STRING

user.error

  • BOOL

GET BOT INFO

await ibl.bot_info(id)

RETURNS

bot.name
bot.certified
bot.tags
bot.prefix
bot.owner
bot.library
bot.short_desc
bot.long_desc
bot.premium
bot.nsfw
bot.servers
bot.shards
bot.votes
bot.invites
bot.website
bot.donate
bot.support
bot.banner
bot.staff
bot.error

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

ibl-0.0.6.tar.gz (2.7 kB view hashes)

Uploaded source

Built Distribution

ibl-0.0.6-py3-none-any.whl (3.4 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