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

Uploaded Source

Built Distribution

discordanalytics-0.0.3-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: discordanalytics-0.0.3.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.19

File hashes

Hashes for discordanalytics-0.0.3.tar.gz
Algorithm Hash digest
SHA256 ae841f6844e32555ef4a9d80b63f06b3cc50885ec070713d11a4d8f244abed36
MD5 8633b323ce8ebf06fc38fe8cd2948662
BLAKE2b-256 7034ea247e540b5e76811a539f3fa8b8eb6bd98c02e8a850e8c1eedf8d849948

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for discordanalytics-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 56885a649bb1519efb109459116d0950bbac24fdcb54e20f70dea94503799665
MD5 b25d1ff03cf58fe772ff12b9560a5cdd
BLAKE2b-256 99fa0966254321e5554fd963572f40e0f11105f3077111fae0bcf317a09829b0

See more details on using hashes here.

Supported by

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