ecolines

1.0.0 • Public • Published

ecolines

JavaScript client for the Ecolines API.

npm version build status ISC-licensed support me via GitHub Sponsors chat with me on Twitter

Things still missing:

Installing

npm install ecolines

Usage

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

const stations = require('ecolines')

console.log(stations['211'])
{
	id: '211',
	name: 'Berlin',
	description: 'ZOB "Am Funkturm", Masurenallee',
	country: 'DE', // ISO 3166-1 alpha-2
	coordinates: {
		latitude: 52.50728190225904,
		longitude: 13.280174732208252
	}
}

Contributing

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

Package Sidebar

Install

npm i ecolines

Weekly Downloads

0

Version

1.0.0

License

ISC

Unpacked Size

31.5 kB

Total Files

4

Last publish

Collaborators

  • derhuerst