cerw / shred

Slash commands for Slack

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Shred - slash commands for Slack

Metro

/metro returns prediction times for upcoming trains at the Dupont Circle metro station.

Weather

/weather returns current weather conditions and the upcoming weather within the next hour.

Using Shred

Shred is built for Heroku.

Install requirements via pip:

pip install -r requirements.txt

Run with foreman:

foreman start

Configuration

Shred is configured via environment variables. All variables are required, unless otherwise noted.

Slack

ENV Description
MBTA_TOKEN Slack token for the /mbta command integration
METRO_TOKEN Slack token for the /metro command integration
TCAMP_TOKEN Slack token for the /tcamp command integration
WEATHER_TOKEN Slack token for the /weather command integration

External Services

ENV Description
FORECASTIO_KEY Forecast.io API key
WMATA_KEY WMATA API key

About

Slash commands for Slack

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Python 100.0%