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 | RSS feed

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.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

slackmojistats-0.1-py2.py3-none-any.whl (3.1 kB view hashes)

Uploaded Python 2 Python 3

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