0.2.0 • Published 6 years ago

hubot-belgiumrail v0.2.0

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

Hubot Belgium Rail

A simple client for the API exposed by iRail.be

I wrote hubot-belgium-rail in response to the fact that iRail made a decent API which made it fun and worth implementing

You can see it live in action at the BE-OSM chat channel on riot https://riot.im/app/#/register and visit #osmbe:matrix.org room

Example from matrix

Installation

You can install this in hubot as an external script directly using npm:

And then add this to external-scripts.json array :

"hubot-belgiumrail",

Configuration

You may want to set the following:

More information

Commands

  • HUBOT trains from <departure station> to <arrival station> - Show the next trains from one station to the other
  • HUBOT trains to <arrival station> - Show the next trains from the default station to the arrival station
  • HUBOT set default train_station <station> - Set the default station and save it to the brain
  • HUBOT get default train_station - Get the default station from the brain
0.2.0

6 years ago

0.1.0

6 years ago

0.0.2

6 years ago