Topics:

Service alerts

The HSL Alerts API can be used to query real-time updates from the HSL fleet in GTFS-RT format.

edit architecture image

Service Architecture

The service connects to the Poikkeusinfo v3 XML interface (http://www.poikkeusinfo.fi/xml/v3), reads this data, and converts it to GTFS-RT

Service dependencies

No Digitransit related service dependencies. Reads data from http://www.poikkeusinfo.fi/xml/v3

URL Project description
https://github.com/samuelmr/hslalert HSLAlerts upstream development (there probably won't happen much)
https://developers.google.com/transit/ Google transit community (especially GTFS-RT)
https://groups.google.com/forum/#!forum/gtfs-realtime Google transit forum

Key technologies and specifications

  • Python
  • GTFS-RT

Docker image

The resulting Docker image is called hsldevcom/hslalert and it is available at DockerHub. The image can be built using this build script.

To run Docker container, run:

docker run -p 8080:5000 hsldevcom/hslalert

To access Docker container:

http://localhost:8080/?debug

For More information about how to use Docker see docker info.