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
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.1.3.tar.gz.
File metadata
- Download URL: discordanalytics-3.1.3.tar.gz
- Upload date:
- Size: 5.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d7d7caca2dd32ece273ba8d574499db726549b05ace65d2a5cc6b7b05189353f
|
|
| MD5 |
2bbbe5b9be0f3aea64488e5fa009386a
|
|
| BLAKE2b-256 |
4e531aaec514454416a6b54985df42f17904000df4df42048ffec5e196854270
|
File details
Details for the file discordanalytics-3.1.3-py3-none-any.whl.
File metadata
- Download URL: discordanalytics-3.1.3-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 |
9cf6445ddfb916889f90554200b39b7e3830d6f5083b1503aff011b4d6491d69
|
|
| MD5 |
7015a6edf667e696c55a8bb2743ac5e3
|
|
| BLAKE2b-256 |
be879428dad1d905edf3b53faacc2cc1e44b158ad9c59e670eee2e81e8c47735
|