Giter Site home page Giter Site logo

derhuerst / discover-vbb-stations Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 0.0 19 KB

Discover VBB stations by querying departures.

Home Page: https://github.com/derhuerst/discover-vbb-stations

License: ISC License

JavaScript 100.00%
vbb public-transport berlin transit stations graph

discover-vbb-stations's Introduction

discover-vbb-stations

Discover VBB stations by querying departures. It tries to find all stations that all trains known by VBB stop at. Analogous to discover-db-stations.

npm version build status ISC-licensed chat on gitter support me on Patreon

Installing

npm install discover-vbb-stations

Usage

using the command line

Using npx:

npx discover-vbb-stations [station-id] >stations.ndjson

using JavaScript

const walk = require('discover-vbb-stations')

walk(stationId) // where to start
.on('data', console.log)
.on('error', console.error)

walk() returns a readable stream in object mode. It emits the following events:

API

walk(stationId, [opt])

stationId must be a string and a valid IBNR.

opt may have the following keys. It will be passed into queue().

  • concurrency: number of requests run in parallel – default: 2
  • timeout: timeout for a single job in milliseconds – default: 10000

Contributing

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

discover-vbb-stations's People

Contributors

derhuerst avatar greenkeeper[bot] avatar

Watchers

 avatar  avatar  avatar

discover-vbb-stations's Issues

An in-range update of vbb-hafas is breaking the build 🚨

Version 4.1.1 of vbb-hafas was just published.

Branch Build failing 🚨
Dependency vbb-hafas
Current Version 4.1.0
Type dependency

This version is covered by your current version range and after updating it in your project the build failed.

vbb-hafas is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • continuous-integration/travis-ci/push The Travis CI build could not complete due to an error Details

Commits

The new version differs by 2 commits.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of hafas-discover-stations is breaking the build 🚨

The dependency hafas-discover-stations was updated from 2.2.4 to 2.2.5.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

hafas-discover-stations is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • continuous-integration/travis-ci/push: The Travis CI build could not complete due to an error (Details).

Commits

The new version differs by 1 commits.

  • d430c1e handle stops and stations :bug:, 2.2.5

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.