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

Uploaded Python 3

File details

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

File metadata

  • Download URL: discordanalytics-3.1.5.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.5.tar.gz
Algorithm Hash digest
SHA256 8ce5458bbb3159af396b3d90ea8858606cadd792b4f351e96b339f987657cfc9
MD5 81de94cecf931efd1b24f6cd9e804e04
BLAKE2b-256 5adbd0c50f33df82cb5f987604b5a3c05d72e06f652e04f5d03002524c39bd3c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for discordanalytics-3.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 f11c4c186cf02dead857fcea13fe064b8d59ebef74f4da9558f8204f70d5c912
MD5 825d037e52946feedac56ae84a7c2a63
BLAKE2b-256 531c7819021f4bfd739a78c6d5f2b09b32c0478586ef626578915058ca0fc75b

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