0.2.0 • Published 8 years ago

nettbuss-stations v0.2.0

Weekly downloads
2
License
ISC
Repository
github
Last release
8 years ago

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.