1.1.2 • Published 10 years ago

hubot-traffic v1.1.2

Weekly downloads
1
License
MIT
Repository
github
Last release
10 years ago

hubot-traffic

A hubot script returning you the traffic time between two points.

See src/traffic-status.coffee for full documentation.

Installation

In hubot project repo, run:

npm install hubot-traffic --save

Then add hubot-traffic to your external-scripts.json:

[
  "hubot-traffic"
]

Configuration

  • HUBOT_DISTANCE_MATRIX_API_KEY - your Google Distance Matrix API Key (Required if you use transit as mode)

Sample Interaction

user1>> hubot traffic home is Where the Hatred is
hubot>> Home is set to Where the Hatred is

user1>> hubot traffic work is Where the Love is
hubot>> Work is set to Where the Love is

user1>> hubot traffic mode is <driving, walking, bicycling, transit>
hubot>> Mode is set to <driving, walking, bicycling, transit>

user1>> hubot i wanna go home
hubot>> From Where the Love is to Where the Hatred is, it will take 34 mins
1.1.2

10 years ago

1.1.1

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago