Skip to content
This repository has been archived by the owner on Sep 20, 2022. It is now read-only.

Starefossen/node-skyss

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Skyss APIs for Node.JS

Build status NPM downloads NPM version Node version Dependency status

Node.JS wrapper for various (undocumented) API from Skyss public transport in Hordaland county in Norway. Since Skyss does not publicly document any of their APIs, this effort is done by analyzing source code of various skyss.no sites, GitHub and other search engines, as well as analyzing traffic to and from various Skyss applications.

Requirements

  • Node.JS >= v4.0.0

Install

$ npm install skyss --save

Usage

const skyss = require('skyss');

Environment

  • SKYSS_MOBILE_API_URL - mobile API endpoint
  • SKYSS_MOBILE_API_USER - mobile API username
  • SKYSS_MOBILE_API_PASS - mobile API password

Mobile APIs

API endpoints used by the Skyss Reise app for iOS and Android.

  • skyss.mobile.messages(callback)
  • skyss.mobile.stops(opts, callback)
  • skyss.mobile.stop(id, opts, callback)
  • skyss.mobile.routes(opts, callback)
  • skyss.mobile.route(id, opts, callback)

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.

About

🚌 Node.JS wrapper for Skyss.no APIs

Resources

License

Stars

Watchers

Forks

Packages

No packages published