🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

hubot-ratp

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hubot-ratp

A hubot script to search for RATP informations in real time. Paris Transport.

0.0.12
latest
Source
npm
Version published
Weekly downloads
4
Maintainers
1
Weekly downloads
 
Created
Source

hubot-ratp

npm version Build Status

A hubot script to search for RATP informations in real time.

Using ratp API.

Please note that you must validate your IP with the service in order to use the API.

See src/ratp.coffee for full documentation.

Installation

In hubot project repo, run:

npm install hubot-ratp --save

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

[
  "hubot-ratp"
]

Sample Interaction

user>> myhubot ratp stations m14
myhubot> ligne M14
Olympiades
Biblioth_que Fran_ois Mitterrand
Cour Saint-Emilion
Bercy
Gare de Lyon
Ch_telet
Pyramides
Madeleine
Saint-Lazare

myhubot> myhubot ratp next m4 raspail
myhubot> Ligne M4 Station raspail and Sens R,A
Direction Porte de Clignancourt next in Train a l'approche at 11:01
Direction Porte de Clignancourt next in 2 mn at 11:03
Direction Porte de Clignancourt next in 3 mn at 11:04
Direction Porte de Clignancourt next in 5 mn at 11:06

Direction Mairie de Montrouge next in Train a l'approche at 11:01
Direction Mairie de Montrouge next in 2 mn at 11:03
Direction Mairie de Montrouge next in 6 mn at 11:07
Direction Mairie de Montrouge next in 8 mn at 11:09

NPM Module

https://www.npmjs.com/package/hubot-ratp

Keywords

hubot

FAQs

Package last updated on 07 Feb 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts