Skip to main content

The official API package for Toxic's bot list using Python 3

Project description

Welcome to toxicbl.py

this PyPi package helps you get info of bots , users and post data about user / server count with your token on Toxic Bot List

Getting started

You need to import the module first

from toxicbl import bots # or users 

An example about scraping info for bots (Same can be done with users)

bots.get_info('your_id') # returns a usable info object

An example about updating your bot's info (discord.py used)

from toxicbl import data
@client.event
async def on_ready()
  data.update({
'token': 'your_token',
'serversCount' : str(len(client.servers)),
'usersCount' : str(len(client.users))
})

Bot Info Object

Returns an object containing:

bot_tag: String # Bot's tag
avatar_url: String # Bot avatarUrl
library: String # Library of bot
prefix: String # Prefix of bot
short_description: String # Short description of bot in TBL site
long_description: String # Long description of bot in TBL site (contains markdown & html)
owner_tag: String # Full tag of owner
authorize_link: String # Invite link of the bot
server_count: String : Number of servers
user_count: String : Number of users

User Info Object

Returns an object containing:

biography: String # User's biography if set
avatar_url: String # User's avatar url
username: String # User's username
num_of_bots: Integer # Number of bots created by user

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

toxicbl-2.3.1.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

toxicbl-2.3.1-py2-none-any.whl (3.7 kB view details)

Uploaded Python 2

File details

Details for the file toxicbl-2.3.1.tar.gz.

File metadata

  • Download URL: toxicbl-2.3.1.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/28.8.0 requests-toolbelt/0.9.1 tqdm/4.37.0 CPython/3.6.0

File hashes

Hashes for toxicbl-2.3.1.tar.gz
Algorithm Hash digest
SHA256 b616a7e0f36c7ad227253a7313f97c072aaab2fcc5ee12753b4bc94abaf81452
MD5 ffc46b361d8a73ac7f763a235c66900f
BLAKE2b-256 29b9333a5b36dbe6bc15a54ca24ce83908e95e1da35d218634a0b989a5962869

See more details on using hashes here.

File details

Details for the file toxicbl-2.3.1-py2-none-any.whl.

File metadata

  • Download URL: toxicbl-2.3.1-py2-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/28.8.0 requests-toolbelt/0.9.1 tqdm/4.37.0 CPython/3.6.0

File hashes

Hashes for toxicbl-2.3.1-py2-none-any.whl
Algorithm Hash digest
SHA256 ce79966dfc2a44aa85d39a32940af42512bbe33615af124cb21fec7575cb5c03
MD5 a67dca98c3c80bd3f41416e9c3d19fe5
BLAKE2b-256 b32065d55846e458acc5738586d155bf343809c666b90f6b3f049b8aacab1af5

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