A Python package for interacting with Discord Analytics API
Project description
Discord Analytics
Installing the package
pip install discordanalytics
Usage
Note: To use Discord Analytics, you need to have an API token. Check the docs for more informations : https://docs.discordanalytics.xyz/get-started/bot-registration
import discord
from discordanalytics import DiscordAnalytics
class MyClient(discord.Client):
async def on_ready(self):
print(f'Logged on as {self.user}!')
intents = discord.Intents.default()
intents.message_content = True
client = MyClient(intents=intents)
analytics = DiscordAnalytics(client, "YOUR_API_TOKEN")
analytics.track_events()
client.run('TOKEN')
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file discordanalytics-3.1.2.tar.gz
.
File metadata
- Download URL: discordanalytics-3.1.2.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8a07e436f71c46469034c121d117dfafffdf2de573fc14b001a861a4ce4da2ee |
|
MD5 | 222798458c76b43329a36a46727faef5 |
|
BLAKE2b-256 | f2dec04403e98da9ab531afd87df61b12a7570942ee7bf2bf1ee5db721402306 |
File details
Details for the file discordanalytics-3.1.2-py3-none-any.whl
.
File metadata
- Download URL: discordanalytics-3.1.2-py3-none-any.whl
- Upload date:
- Size: 6.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b94abec20e47d944e7e613b1fa86642fe5c57181a568a52331f1d219c2afdd0c |
|
MD5 | d40a09875f944cb9baad2891d8b46b46 |
|
BLAKE2b-256 | 99a6a51a4418f2107d8dfb3aff94283621ca0d36cdba63ae641b1b86803b7976 |