No project description provided
Project description
# analyticord
[![Supported Python versions](https://img.shields.io/pypi/pyversions/analyticord.svg)](https://pypi.org/project/analyticord)
[![License](https://img.shields.io/pypi/l/analyticord.svg)](https://choosealicense.com/licenses)
[![Documentation Status](https://readthedocs.org/projects/discordanalytics-python/badge/?version=latest)](http://discordanalytics-python.readthedocs.io/en/latest/?badge=latest)
[![Build Status](https://travis-ci.org/nitros12/module-python.svg?branch=master)](https://travis-ci.org/nitros12/module-python)
-----
**Table of Contents**
* [Installation](#installation)
* [Getting Started](#getting-started)
* [License](#license)
## Installation
analyticord is distributed on [PyPI](https://pypi.org) as a universal
wheel and is available on Linux/macOS and Windows and supports
Python 3.5+ and PyPy.
```bash
$ pip install analyticord
```
## Getting Started
```python
import asyncio
from analyticord import AnalytiCord
loop = asyncio.get_event_loop()
# The most basic usage, with a single bot token
analytics = AnalytiCord("token")
# start up the analytics
# this could be done inside the on_ready event, etc of a d.py bot
loop.run_until_complete(analytics.start())
# hook the on_message event of a d.py bot
# this will send message count events to analyticord for you
analytics.messages.hook_bot(bot)
```
## License
analyticord is distributed under the terms of the
[MIT License](https://choosealicense.com/licenses/mit).
[![Supported Python versions](https://img.shields.io/pypi/pyversions/analyticord.svg)](https://pypi.org/project/analyticord)
[![License](https://img.shields.io/pypi/l/analyticord.svg)](https://choosealicense.com/licenses)
[![Documentation Status](https://readthedocs.org/projects/discordanalytics-python/badge/?version=latest)](http://discordanalytics-python.readthedocs.io/en/latest/?badge=latest)
[![Build Status](https://travis-ci.org/nitros12/module-python.svg?branch=master)](https://travis-ci.org/nitros12/module-python)
-----
**Table of Contents**
* [Installation](#installation)
* [Getting Started](#getting-started)
* [License](#license)
## Installation
analyticord is distributed on [PyPI](https://pypi.org) as a universal
wheel and is available on Linux/macOS and Windows and supports
Python 3.5+ and PyPy.
```bash
$ pip install analyticord
```
## Getting Started
```python
import asyncio
from analyticord import AnalytiCord
loop = asyncio.get_event_loop()
# The most basic usage, with a single bot token
analytics = AnalytiCord("token")
# start up the analytics
# this could be done inside the on_ready event, etc of a d.py bot
loop.run_until_complete(analytics.start())
# hook the on_message event of a d.py bot
# this will send message count events to analyticord for you
analytics.messages.hook_bot(bot)
```
## License
analyticord is distributed under the terms of the
[MIT License](https://choosealicense.com/licenses/mit).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
File details
Details for the file analyticord-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: analyticord-0.3.0-py3-none-any.whl
- Upload date:
- Size: 9.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c235a3b9593a345a0357e23efbe0bd45bb470756f728ca3ad31f38dc65f1caf8 |
|
MD5 | 337e666423ce6f45ea2872cf24f27cf8 |
|
BLAKE2b-256 | 391793e633a1cf7b6fde588f949978d58442832bf7b991be7fac7c033331fb58 |