Skip to content

mciara/bustripper

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This tool queries ruter labs' API of bus lines in Oslo.
It's a command tool to find the first lines from the nearest bus stops after a search.

User flow:
1. User inputs a search string,
    Lysaker
2. which the program finds the related stopId using the API
    https://reisapi.ruter.no/Place/GetPlaces/Lysaker
(2190021)
3. then looks up the coming departures using
    http://reisapi.ruter.no/StopVisit/GetDepartures/2190021?datetime=2016-11-22T12:10:00
and prints
  line where-to of the first 10.

API documentation from http://reisapi.ruter.no/help or labs.ruter.no

Start it with # ./gradlew run -q

About

Code exercise

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%