Docs 1.0.0PyPIPython
API Reference
Labs API for Python, v1
Public Endpoints
list_bots()
List bots with optional query parameters.
Python
client.list_bots(limit=10, sort='-votes')
get_bot_by_id()
Retrieve a bot by its Discord client ID.
Python
client.get_bot_by_id("123456789012345678")
list_users()
List users with optional query parameters.
Python
client.list_users(limit=10)
get_website_stats()
Get public website statistics.
Python
client.get_website_stats()
Authenticated Endpoints
post_stats()
Update your bot's server count and other statistics.
Python
1client.post_stats(2 bot_id="YOUR_BOT_ID",3 guild_count=1000,4 user_count=5000,5 uptime=3600,6 ping=120.57)
get_stats()
Retrieve statistics for a specific bot.
Python
client.get_stats(bot_id="YOUR_BOT_ID", limit=10)
Need more help?
Ask in our Discord or email support@conscherry.com.