Home

Awesome

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.