A civic-minded citizen seeking the singularity

An entry

Muni Bot

Date: 2016-02-04
Status: release
Tags: ruby slack transportation bot

I wanted to play with the Slack API, and I had a small amount of working Ruby code that retrieved information from the 511 API.

It currently takes a couple commands:

  • say anything to get the muni bot to tell you what it does
  • routes - shows routes and prompts: What route do you want?
    • enter the route
  • stops - shows stops along the route and prompts: What stop do you want?
    • enter the stop

the bot responds with the time for the next 3 stops (if available)