Giter Site home page Giter Site logo

derhuerst / are-vbb-hafas-stations-the-same Goto Github PK

View Code? Open in Web Editor NEW
1.0 3.0 0.0 16 KB

[work in progress] – Check if two stations from the VBB API should be one.

Home Page: https://github.com/derhuerst/are-vbb-hafas-stations-the-same#are-vbb-hafas-stations-the-same

License: ISC License

JavaScript 100.00%
hafas vbb berlin public-transport transit

are-vbb-hafas-stations-the-same's Introduction

are-vbb-hafas-stations-the-same

Check if two stations from the VBB API should be one. It compares if both stations have the same scheduled departures. Work in progress.

The heuristic doesn't work yet with edge cases, such as distinct bus stations that the VBB API reports the same departures for. Known pairs:

npm version build status ISC-licensed chat on gitter

Installing

npm install are-vbb-hafas-stations-the-same

Usage

todo

Contributing

If you have a question or have difficulties using are-vbb-hafas-stations-the-same, please double-check your code and setup first. If you think you have found a bug or want to propose a feature, refer to the issues page.

are-vbb-hafas-stations-the-same's People

Contributors

derhuerst avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

are-vbb-hafas-stations-the-same's Issues

accept any HAFAS client

Adapt this lib to accept any hafas-client-compatible HAFAS client:

  • Check if (await hafas.departures(idA))[0].stop.station.id is equal to (await hafas.departures(idB))[0].stop.station.id.
  • Make use of the includeRelatedStations option.

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.