Skip to main content

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

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for slackmojistats, version 0.1
Filename, size File type Python version Upload date Hashes
Filename, size slackmojistats-0.1-py2.py3-none-any.whl (3.1 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page