GitXplorerGitXplorer
a

uber_slack

public
64 stars
26 forks
11 issues

Commits

List of commits on branch master.
Unverified
6f65182e9a19900cd7bca13e2904e3cbd6f85980

Update support.md

aaaadmin committed 8 years ago
Unverified
6929752481f27889141841ee330043cfd46ea2e7

added foreman

EEdmundLeex committed 8 years ago
Unverified
7bc877f3332d22678a02678151bfbddbd832143b

Merge branch 'datadog'

EEdmundLeex committed 8 years ago
Unverified
f96dc18004770801488afaadbb20c78f32b9d325

add heroku buildpack datadog

EEdmundLeex committed 8 years ago
Unverified
e770a42e7c17774bbd8069a9f9964398b7d1a783

Remove vestigial appendage

committed 8 years ago
Unverified
a53bb65a7044552c54e43935a94059a9b71ac881

Fix RestClientException

HHaseeb-Qureshi committed 8 years ago

README

The README file for this repository.

Circle CI

  • An Uber & Slack Integration API
  • Built by App Academy students in the August 2015 cohort

Overview

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.

Usage

All commands will follow the following format:

/uber [command] [extra parameters]

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 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}`

Cancelling a Ride

You can cancel a ride by using the 'cancel' command:

/uber cancel

Uber Vehicles

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)'

Help

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

/uber help

Support

Get more info about support here.

Contributing

Slack Channels

Join our Slack Channel to

  • discuss about this project
  • throw in ideas of new features
  • or simply report/fix bugs if you see any

New features / bug fixes

  1. Fork this repo
  2. Create feature branch
  3. Push to your branch
  4. Create Pull Request from your branch

If your PR would require sandbox testing, continue to follow the below steps

  1. 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.
  1. Go to Uber Developer to register an app on Uber
  2. Set all redirect URIs as https://_uber-on-slack-sandbox-your-identifier_.herokuapp.com/api/connect_uber
  3. Point privacy policy to your github repo
  4. Go to Slack App API to create an app
  5. Set all redirect URIs as https://_uber-on-slack-sandbox-your-identifier_.com/api/connect_slack
  6. Create a slash command, and name is as /uber-pr
  7. Click this button in your forked repo to deploy
  • Deploy
  1. Paste your heroku app URL in the description, and specify what the PR is about.
  2. That's it.

Encounter issues?

If you encounter any kind of issue, you can simply report it on github or discuss on our Slack Channel

License

Uber on Slack is open-source and free to distribute or modify under the MIT License.

Acknowledgment

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.