Socket
Socket
Sign inDemoInstall

hubot-septa

Package Overview
Dependencies
92
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    hubot-septa

A hubot script that queries the Southeastern Pennsylvania Transportation Authority (SEPTA) API


Version published
Weekly downloads
1
Maintainers
1
Install size
4.57 MB
Created
Weekly downloads
 

Readme

Source

hubot-septa

Allows Hubot to give you real-time information on SEPTA's transportation systems.

Installation

Add hubot-septa as a depencency in your Hubot package.json file:

"hubot-septa": "0.1.0"

Then add "hubot-septa" to your external-scripts.json file.

If you don't have an external-scripts.json file, create a new file in your Hubot base dir that contains ["hubot-septa"].

see https://github.com/github/hubot/blob/master/docs/scripting.md

Usage

Using SEPTA's Next to Arrive API:

hubot septa me the next train from <source> to <destination>

hubot septa me the next <integer> trains from <source> to <destination>

Example

Hubot> hubot septa me the next train from Wissahickon to Suburban Station
Hubot> Shell: SEPTA train 6233 leaves at  9:00PM and arrives at  9:25PM (1 mins).

Hubot> hubot septa me the next 3 trains from 30th Street Station to Manayunk
Hubot> Shell: SEPTA train 230 leaves at  9:26PM and arrives at  9:51PM (On time).
Hubot> Shell: SEPTA train 232 leaves at 10:16PM and arrives at 10:41PM (On time).
Hubot> Shell: SEPTA train 8234 leaves at 11:20PM and arrives at 11:45PM (On time).

TODO

  • Handle line transfers

License

MIT

Keywords

FAQs

Last updated on 24 Aug 2013

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc