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.5.0.tar.gz
(42.2 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.5.0.tar.gz.
File metadata
- Download URL: discordanalytics-3.5.0.tar.gz
- Upload date:
- Size: 42.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
06bac5f3139b19ef99ef56779eef45582f5adfeddbf2196625b2d4a90ecffc83
|
|
| MD5 |
27b3b7c3989cc2bc428ef54869b1cefc
|
|
| BLAKE2b-256 |
dba0b5052a4cedbde1d2912d87225fd31f432e698e5e2180084677fd5d5e3764
|
File details
Details for the file discordanalytics-3.5.0-py3-none-any.whl.
File metadata
- Download URL: discordanalytics-3.5.0-py3-none-any.whl
- Upload date:
- Size: 30.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
270725b354818407d750376c34cf1edffec2aafcc2e9ea086d89196a633f2d80
|
|
| MD5 |
633b44e061387bc89506b7f8e192987a
|
|
| BLAKE2b-256 |
7943b3f3e3a05b33225c59b16425ffd3acbd7ce9f3db96c90ec353e271940853
|