we have `it.genova.amt.app` at home

recently I have been playing with the android application for my city’s public transportation system, the following is a recap:

the it.genova.amt.app app fires 3 requests to populate /data/data/it.genova.amt.app/databases/AMT.db:

these endpoints return a semicolumn-separated file we can use to populate a local sqlite db (check updater.py), then, live info (timetables and departures) can be retrieved using the following endpoints:

this makes spinning up an alternative service quite trivial: you can use mine at tma.rcastellotti.dev and check source code at https://g.rcastellotti.dev/rc/tma, please report bugs and rememeber to validate your ticket before hopping on a bus :)

resources