Skip to main content

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


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.1.4.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

discordanalytics-3.1.4-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

Details for the file discordanalytics-3.1.4.tar.gz.

File metadata

  • Download URL: discordanalytics-3.1.4.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

Hashes for discordanalytics-3.1.4.tar.gz
Algorithm Hash digest
SHA256 bd43c47e07ed6c82ab403aa8177f43f554cf440dbf79b9acb4cc8b21717d7109
MD5 746fc4cff99372351ccc9d0fc6cc5ef8
BLAKE2b-256 988b7aa625ae38fe31a21e3f36ff803cb9f208c3dde9498138df5e529b84739e

See more details on using hashes here.

File details

Details for the file discordanalytics-3.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for discordanalytics-3.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 841fa9866a9add51cbce5b2f8c68fdbcf610bbed4a8230455b81c8ac1fa0ceee
MD5 175fa7ecf9fc9a993b0a5bc7c60f88fb
BLAKE2b-256 b57e36c20488aaf59688e8c517caab06ca23344ecda05dadbdf46fb976a2d67f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page