- An Uber & Slack Integration API
- Built by App Academy students in the August 2015 cohort
Uber on Slack enables Slack users to hail Uber rides directly from their chat client with a command-line type interface. By utilizing slash commands (https://api.slack.com/slash-commands) from the Slack API, Uber on Slack allows the user to type in various commands (see Usage section below) to hail an UberX ride to a designated pickup location and designate certain options for the ride.
All commands will follow the following format:
/uber [command] [extra parameters]
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 to 24 willie mays plaza
/uber ride 1061 Market St. to 24 Willie Mays Plaza
/uber ride 1061 market street san francisco to 24 willie mays plaza san francisco
And will return a JSON string notifying you of the status:
{"status":"processing","request_id":"6c265d45-3a1c-4434-ba73-0be5d2c2d14f","driver":null,"eta":12,"location":null,"vehicle":null,"surge_multiplier":1.0}`
You can cancel a ride by using the 'cancel' command:
/uber cancel
To see the various Über vehicles that are available:
/uber products [destination address]
This will return a response like so:
The following products are available:
- uberX: The low-cost Uber (Capacity: 4)
- uberXL: Low-Cost Rides for Large Groups (Capacity: 6)'
A help manual is available with the 'help' command:
/uber help
Get more info about support here.
Join our Slack Channel to
- discuss about this project
- throw in ideas of new features
- or simply report/fix bugs if you see any
- Fork this repo
- Create feature branch
- Push to your branch
- Create Pull Request from your branch
If your PR would require sandbox testing, continue to follow the below steps
- Name your app as uber-on-slack-sandbox-your-identifier (e.g. uber-on-slack-sandbox-app-academy).
- This name would be used for your Heroku app, and Registration on Uber and Slack.
- Go to Uber Developer to register an app on Uber
- Set all redirect URIs as
https://_uber-on-slack-sandbox-your-identifier_.herokuapp.com/api/connect_uber
- Point privacy policy to your github repo
- Go to Slack App API to create an app
- Set all redirect URIs as
https://_uber-on-slack-sandbox-your-identifier_.com/api/connect_slack
- Create a slash command, and name is as
/uber-pr
- Click this button in your forked repo to deploy
- Paste your heroku app URL in the description, and specify what the PR is about.
- That's it.
If you encounter any kind of issue, you can simply report it on github or discuss on our Slack Channel
Uber on Slack is open-source and free to distribute or modify under the MIT License.
Uber on Slack would not be possible were it not for its contributors from App Academy including: Simon Chaffetz, Edmund Lee, Matthew Symonds, Edward Huang, Nicole DeVillers, Sangam Kaushik, Sven Ten Haaf, Christopher Huang, Andrew Liu, Justin Menestrina, Alvin Ly, Sean Walker, Jacky Lei, Minh Nguyen, Noah Wiener, Nathan Specht, Austin Kao, David Ammons, Ian Nguyen, Joe Cho, Marc Tambara, Vic Chen, and Haseeb Qureshi.