Skip to content

jpedraza/uber_slack

 
 

Repository files navigation

  • An Uber & Slack Integration API
  • Built by App Academy students in the August 2015 cohort
  • Refer to the live site for currently available commands & usage

Overview

Uber on Slack enables Slack users to hail Uber rides directly from their chat client with a command-line type interface. By using slash commands from the Slack API, Uber on Slack allows the user to type in commands to hail an UberX ride, get ETAs, and more!

Usage

All commands will follow the following format:

/uber [command] [extra parameters]

You'll be asked to link your Slack and Uber accounts using the OAuth protocol the first time you use an /uber command. After that, your next ride is just an /uber away!

Hailing a Ride

To hail a ride, enter a 'ride' command in your Slack chat in the following format:

/uber ride [pickup address] to [destination address]

This can handle a variety of address formats:

/uber ride 1061 market st San Francisco to 24 willie mays plaza
/uber ride 1061 Market St. SF to 24 Willie Mays Plaza
/uber ride 1061 market street san francisco to 24 willie mays plaza san francisco

Uber will look for an available UberX near your origin address. Once a driver is on their way, you'll receive a confirmation. If surge pricing is in effect, the surge multiplier will be shown first, and you can /uber accept to get your ride.

Uber Vehicles

To see a list of Uber products available for your address:

/uber products [destination address]

Help

A help manual is available with the 'help' command:

/uber help

To-Dos / Forthcoming Features

  • Get fare estimates for your trip with /uber fares [pickup address] [destination]
  • Echo command and resolved geographic information back
  • Canceling ride requests from Slack using /uber cancel
  • Specifying which Uber service to hail in the format /uber ride [service] [pickup address] [destination]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 47.9%
  • Ruby 38.3%
  • HTML 12.8%
  • Other 1.0%