uberbot is a chat bot built on the Hubot framework, to run the commands to the popular ride service Uber. It was initially generated by generator-hubot, and configured to be deployed on Heroku to get you up and running as quick as possible.
You can test your hubot by running the following, however some plugins will not behave as expected unless the environment variables they rely upon have been set.
You can start uberbot locally by running:
% HUBOT_SLACK_TOKEN=<slack_token> UBER_SERVER_TOKEN=<uber_server_token> ./bin/hubot --adapter slack
You'll see some start up output and a prompt:
[Sat Feb 28 2015 12:38:27 GMT+0000 (GMT)] INFO Using default redis on localhost:6379
uberbot>
Then you can interact with uberbot by typing uberbot help
.
uberbot> uberbot help
uberbot animate me <query> - The same thing as `image me`, except adds [snip]
uberbot help - Displays all of the help commands that uberbot knows about.
...
UBER_SERVER_TOKEN : server token from Uber UBER_CLIENT_ID : client ID from Uber UBER_CLIENT_SECRET : client Secret for Uber
N.B. : Get all these from Uber Developer Page
-
Get Uber Products for a city, type : uberbot products near
Example : uberbot products near Kolkata
-
Calculate Fare Estimate : uberbot calculate cost from to
Example : uberbot calculate cost from Rashbehari Avenue, Kolkata to Behala, Kolkata
- More API's
- OAuth Integration
- More command variation