15 lines
467 B
Markdown
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
|