Skip to content

Simple MVG (Münchner Verkehrsgesellschaft) live data parser written in Java using JSoup.

License

Notifications You must be signed in to change notification settings

kyrtap/mvg-ticker-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MVG Ticker

Simple MVG (Münchner Verkehrsgesellschaft) live data parser written in Java.

What can I use it for?

You can use MVG Ticker to get the upcoming departures from the desired bus/tram/subway station. The output will be an ArrayList of Departure objects with the data parsed from the MVG live website. A Departure object contains the line, its type, its destination and the departure time.

How can I use it?

Example usage:

ArrayList<Departure> deps = new MvgTicker("Hauptbahnhof").getDepartures(true, true, true, true);

for (Departure d : deps) {
    System.out.println(d.toString());
}

You can also take a look at the Javadoc documentation here.

About

Simple MVG (Münchner Verkehrsgesellschaft) live data parser written in Java using JSoup.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages