vbb-find-stations
Find stations of Berlin Brandenburg public transport service (VBB). This module is only a wrapper around vbb-stations-autocomplete
.
Installing
npm install vbb-find-stations
Usage
const findStations = console
findStations
returns Friendly Public Transport Format 1.2.1 station
s.
type: 'station' id: '900000062202' name: 'S+U Rathaus Steglitz (Berlin)' location: type: 'location' latitude: 52455066 longitude: 13322152 weight: 2736 relevance: 31185246962418125 score: 4361687553989209 type: 'station' id: '900000062781' name: 'S+U Rathaus Steglitz (Berlin) [U9]' location: type: 'location' latitude: 52456438 longitude: 13319986 weight: 28315 relevance: 24948197569934503 score: 35294851852317365 type: 'station' id: '900000062782' name: 'S+U Rathaus Steglitz (Berlin) [Bus Schloßstr.]' location: type: 'location' latitude: 52456755 longitude: 13320584 weight: 483125 relevance: 20790164641612083 score: 3514615060514675 type: 'station' id: '900000062282' name: 'S+U Rathaus Steglitz/Kreisel (Berlin)' location: type: 'location' latitude: 52455889 longitude: 13320852 weight: 256375 relevance: 24948197569934503 score: 3414531045766747 type: 'station' id: '900000062784' name: 'S+U Rathaus Steglitz (Berlin) [Bus Albrechtstr.]' location: type: 'location' latitude: 5245668 longitude: 13321685 weight: 2834 relevance: 20790164641612083 score: 29421030297346405
Contributing
If you have a question, found a bug or want to propose a feature, have a look at the issues page.