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.6.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.6-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: discordanalytics-3.1.6.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.6.tar.gz
Algorithm Hash digest
SHA256 d90e2a90dbb6190b02578e1bb67b46dc77e9502d6525f105cd8fa16d5b8c87e8
MD5 46f7bfc5699b18bacddcaab88789edb9
BLAKE2b-256 1609cadd2ce0001395f2232a76c4bfa4545b5fd187d7783e587bb760dadddaba

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for discordanalytics-3.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 c48c5b184c152c6fe8afd0576c00e8246f8fecd1013c2fe28c93ee8e10b75fd4
MD5 b6d588a505cfb9c4c0f0151a81e0cdb9
BLAKE2b-256 1a41e2b60c48de0e0d28f951b54f4d90700a1a554f56db16ec6cb66175e01a2d

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