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://discordanalytics.xyz/docs/main/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
discordanalytics-3.7.0.tar.gz
(28.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file discordanalytics-3.7.0.tar.gz.
File metadata
- Download URL: discordanalytics-3.7.0.tar.gz
- Upload date:
- Size: 28.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b449a138617c03d7d3dcf7bb46184362d86f56b287f7cf0bca673391160a2c2f
|
|
| MD5 |
656a6b57af373faa0a59a0d5b05bd246
|
|
| BLAKE2b-256 |
eb661f301474bd533e0135dddd7459932aea43ceca07904d402bc2dfd0d005e8
|
File details
Details for the file discordanalytics-3.7.0-py3-none-any.whl.
File metadata
- Download URL: discordanalytics-3.7.0-py3-none-any.whl
- Upload date:
- Size: 25.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b5506980a382133c6d428742694a77ef515f7d035ea508b67474b14bd3a882a3
|
|
| MD5 |
d772f593145f636f2526fc277f9a8eaf
|
|
| BLAKE2b-256 |
29677a5b6bf29078adf71b6bde88c90ba4dda08694bb6c1e1a01c72ad66fdda6
|