skyss-cli

Command line client for interacting with stops and routes from Skyss.no APIs

Usage no npm install needed!

<script type="module">
  import skyssCli from 'https://cdn.skypack.dev/skyss-cli';
</script>

README

Skyss CLI

Build status NPM downloads NPM version Node version Dependency status

Command line client (CLI) for interacting with public transport information from Skyss APIs build on top of the open source package skyss for Node.js.

Requirements

  • Node.JS >= v4.0.0

Install

$ npm install skyss-cli

Features

  • List routes for given stop

Usage

$ skyss-cli --help

Usage: skyss-cli <command> [options]

command
  version     show package versions
  stop        get stop information

Options:
   -v, --verbose        Output verbose information

Stop

$ skyss-cli stop placeId_011438 --line 2

Landåstorget (12011438)

[2] Til Birkelundstoppen
4 min 23:20 23:40

Landåstorget (12011439)

[2] Til Sentrum
7 min 23:23 23:43

Legal

Skyss is a registered trademark of Hordaland County Councile (Hordaland Fylkeskommune) which is not affiliated with this product. Content from Skyss APIs may be copyrighted.

MIT Licensed