1.0.4 • Published 9 years ago
hubot-dublinbikes v1.0.4
hubot-dublinbikes
A simple hubot script for querying the Dublin Bikes API.
Installation
Add hubot-dublinbikes
to your package.json
file, e.g.
"dependencies": {
"hubot": ">= 2.6.0 < 3.0.0",
"hubot-scripts": ">= 2.5.0 < 3.0.0",
"hubot-hipchat": "~2.6.4",
"hubot-dublinbikes": "~1.0.0"
}
Then add hubot-dublinbikes
to your external_scripts.json
file and run npm install
Config
HUBOT_DUBLINBIKES_API_KEY
Commands
hubot dublinbikes list
- Lists out the ID for all Dublin Bikes stations
hubot dublinbikes <ID>
- Responds with how many bikes are at the requested station