Skip to content

EdvinNilsson/resecentrum

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Resecentrum: Journey planner for Västtrafik

Resecentrum is a journey planner app for public transport in Västra Götaland, Sweden, operated by Västtrafik. It is made with Flutter, and it can be built for both Android and iOS. The app is currently available on Google Play and is only available in Swedish.

Get it on Google Play

Screenshots

Screenshot 1 Screenshot 2 Screenshot 3 Screenshot 4 Screenshot 5 Screenshot 6 Screenshot 7 Screenshot 8

Build notes

Run flutter pub get to get dependencies.

Run dart run build_runner build for code generation.

When building, assign API keys with --dart-define.
For example flutter build apk --dart-define AUTH_KEY=<insert-auth-key> --dart-define AUTH_SECRET=<insert-auth-secret> --dart-define TRAFIKVERKET_KEY=<insert-api-key>.

You can get API keys from Västtrafik's developer portal by creating an application that subscribes to both Planera Resa v4 and TrafficSituations v1. To get additional information about train journeys, you need an API key from Trafikverket.

Google Play and the Google Play logo are trademarks of Google LLC.