Slack Emoji Stats
Project description
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
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 slackmojistats-0.1-py2.py3-none-any.whl
.
File metadata
- Download URL: slackmojistats-0.1-py2.py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 2, Python 3
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c6b45c7b235a3cf2d6bf7625277c60b23ca4b318c5a57868871b2dbd935a648 |
|
MD5 | ca90aba65125c81756b539e29ce45be8 |
|
BLAKE2b-256 | 038b7cee044a3b2ba0c487fbb8e30c8773927c583d2af18260f2494a9d63908e |