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

Uploaded Source

Built Distribution

ibl-0.0.6-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file ibl-0.0.6.tar.gz.

File metadata

  • Download URL: ibl-0.0.6.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.6

File hashes

Hashes for ibl-0.0.6.tar.gz
Algorithm Hash digest
SHA256 2baf025105b1bf43c28a97a55083963d6eea7644fb1b85d61d4621b1b9f7e6dc
MD5 e3ae6ce320016a8863fd0dc468e7e2c5
BLAKE2b-256 ff9f946c1c6897e1788e6acf383115cd82e8679b66d187cc65eea215aa6d047e

See more details on using hashes here.

File details

Details for the file ibl-0.0.6-py3-none-any.whl.

File metadata

  • Download URL: ibl-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 3.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.6

File hashes

Hashes for ibl-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 8aada7d3edfa8aaf8b4117198a992686be0eb5d3350e3499ccfefdcb681d9de5
MD5 d11bf5146b3fdb7949a7ac7edd6dac7d
BLAKE2b-256 a1b335416762834c5559c6c40906e0676b5472d8c0ec8312c551b0d167ae37fa

See more details on using hashes here.

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