derhuerst / nettbuss-stations

A list of Nettbuss.se stations.

Home Page:https://github.com/derhuerst/nettbuss-stations

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

A list of Nettbuss.se stations.

https://github.com/derhuerst/nettbuss-stations

License:ISC License


Languages

Language:JavaScript 100.0%