ha-poz-timetable/README.md
2025-02-14 09:37:53 +01:00

15 lines
467 B
Markdown

### Getting started
To run a simple demo script you can use `uv` with:
uv run src/realtime.py
### API documentation
##### ZTM API docs
https://www.ztm.poznan.pl/otwarte-dane/dla-deweloperow/
##### ZTM API - static data (routes)
curl 'https://www.ztm.poznan.pl/pl/dla-deweloperow/getGTFSFile' -o routes.zip
##### ZTM API - realtime data (delays)
curl 'https://www.ztm.poznan.pl/pl/dla-deweloperow/getGtfsRtFile?file=trip_updates.pb' -o trip_updates.pb