Skip to content
A list of Nettbuss.se stations.
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.editorconfig
.gitignore
.travis.yml
build.js
example.js
index.json
license.md
package.json
parse.js
readme.md
test.js

readme.md

nettbuss-stations

A list of Nettbuss.se stations.

npm version build status ISC-licensed chat on gitter

Installing

npm install nettbuss-stations

Usage

The npm package contains data in the Friendly Public Transport Format.

const stations = require('nettbuss-stations')

console.log(stations)
[
	{
		id: '1394',
		name: 'Nils Ericson-terminalen',
		coordinates: null,
		city: {id: '210', name: 'Göteborg'},
		weight: 65463,
		tags: [],
		country: {id: '1', name: 'Sverige'}
	},
	//
	{
		id: '242',
		name: 'Oslo Bussterminal',
		coordinates: null,
		city: {id: '46', name: 'Oslo'},
		weight: 112120,
		tags: [],
		country: {id: '2', name: 'Norge'}
	}
	//
]

Contributing

If you have a question, found a bug or want to propose a feature, have a look at the issues page.

You can’t perform that action at this time.