Get real time departure info for a single platform at a single stop using the KVV's TRIAS API.
- Java 25 or newer
- Maven 3.9+
- Internet access
- TRIAS API access (KVV)
git clone https://github.com/gungurbuz/triastest.git
cd triastest
The application expects the TRIAS API key as an environment variable.
Add a user environment variable:
TRIAS_API_KEY=your-key
mvn clean package
java -jar target/departure-board.jar
Updates immediately and then every minute on the dot. Both scheduled and expected/realtime information is shown. If the times are identical, only one time is shown.
Edit DepartureBoardApp to change:
STOP_POINT_REF
ALLOWED_LINES
Example:
List.of("S1", "S11")
- i love you KVV forever and ever...
This project is licensed under the Creative Commons Zero v1.0 Universal License - see the LICENSE file for details.