Skip to main content

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

Project description

Welcome to

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 ( used)

from toxicbl import data
async def on_ready()
'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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 2

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