Slackmojistats
Download emojis
Quickly download all your emojis from Slack and save them to a folder.
Makes aliases their own image with the aliased name.
Due to limitations with Slack's emoji.list endpoint, we're unable to save aliases to built-in emojis, such as aliases to white_large_square.
Install
pip install slackmojistats
Sample Usage
Set Slack_API_TOKEN env var (or pass in via -a flag) with emoji.list and search.messages access, then run a command from below:
usage: slackmojistats [-h] [-a API_TOKEN] [-c {download}]
[-d DOWNLOAD_LOCATION]
optional arguments:
-h, --help show this help message and exit
-a API_TOKEN, --api-token API_TOKEN
Slack api token to use; needs emoji.list and
search.messages privs. Defaults to Slack_API_TOKEN env
var.
-c {download}, --action {download}
Which action to perform. Right now only download is
supported. Defaults to 'download'.
-d DOWNLOAD_LOCATION, --download-location DOWNLOAD_LOCATION
Where to download emojis to. Will try and create the
dir if it doesn't exist. Only used with the `download`
action. Defaults to /tmp/Slack-emoji.
TODO
Get stats -- not supported right now due to emoji.list ratelimit
Returns the top N most-used custom emojis in your Slack, via Slack's api: https://github.com/Slackapi/python-slackclient/tree/2.0.1
Release files for slackmojistats 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| slackmojistats-0.1-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Release files / slackmojistats-0.1-py2.py3-none-any.whl
| Download URL | slackmojistats-0.1-py2.py3-none-any.whl |
|---|---|
| Size | 3.1 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
7c6b45c7b235a3cf2d6bf7625277c60b23ca4b318c5a57868871b2dbd935a648
|
|
BLAKE2b-256 checksum How to use checksums |
038b7cee044a3b2ba0c487fbb8e30c8773927c583d2af18260f2494a9d63908e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.7.2
|