Code Monkey home page Code Monkey logo

bvg-api's People

Contributors

kr1sp1n avatar philippbosch avatar vied12 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

bvg-api's Issues

Request for limited number of departures

Hi,
first of all: Good work, thanks for the API! :)

Is it possible to pull just a few JSON Objects from the server within the request URL?

For example:
I want to get only the next 5 departures for my station to avoid an data overhead with all the other departure times, but query the server more often for departures in the near future to get an up-to-date list. (Alexanderplatz and Frankfurter Allee for example return many many objects)

My goal is: I want to write a BVG-Plugin for the MagicMirror Project
For that, only a limited number of the next departures is needed.
I could get the whole output and get the first 5 objects of the array, but it's a waste of bandwidth in my optinion...

Greetz!
B.

Realtime Data

Hey,
I'm not sure how to fetch the realtime data. I saw there is the ?realtime parameter, but I don't know how to use it.

Tried all imaginable urls like:

  • localhost:3000/station?realtime/STATION_ID
  • localhost:3000/station/?realtime/STATION_ID

and so on..

Would be nice if you point me into the right direction =)
Great work by the way!

Correct naming for stops.txt

Hallo!

It would be nice if you could rename stops.txt into stops.csv.

Github has also a very nice ui for csv files.

Cheers!

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.