/metro
returns prediction times for upcoming trains at the Dupont Circle metro station.
/weather
returns current weather conditions and the upcoming weather within the next hour.
Shred is built for Heroku.
Install requirements via pip:
pip install -r requirements.txt
Run with foreman:
foreman start
Shred is configured via environment variables. All variables are required, unless otherwise noted.
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 |
ENV | Description |
---|---|
FORECASTIO_KEY | Forecast.io API key |
WMATA_KEY | WMATA API key |