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

Uploaded Source

Built Distribution

discordanalytics-0.0.5-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: discordanalytics-0.0.5.tar.gz
  • Upload date:
  • Size: 4.6 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.5.tar.gz
Algorithm Hash digest
SHA256 777cd9e7bb1ef8a04ccb5086b09d9b63efa8d36f2dac8c5adec3656e8648d3ca
MD5 859399b5f31495db058a926ae2001651
BLAKE2b-256 0b7c0d71fe4e3bd73dbbdf0f73bdfd94c536d3ecec03f82b222684bdcffe648b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for discordanalytics-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 78f816f34ad78ac68e67eead31d4ab298b463f36b7f41718c32cf3bb75e77720
MD5 987cdecc87b72cf6a53a54f938be9a9b
BLAKE2b-256 ab097100075f8f9620f4a9e79c7f3fc17ac493480dd3e27fc4f48aee5b573314

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