Luca Casonato ๐Ÿณ๏ธโ€๐ŸŒˆ @lcas.dev ยท Dec 28

This endpoint has another great design choice: the departure and arrival data is stored in two arrays with fields with a description of either "Scheduled departure", "Actual Departure", "Scheduled Arrival", or "Actual Arrival". Note the capitalization difference between "departure" and "arrival".

14 likes 2 replies

?

Replies

Luca Casonato ๐Ÿณ๏ธโ€๐ŸŒˆ ยท Dec 28

On startup, the Italo app also fetches a list of all stations Italo can sell tickets to/from. This file is 2.3 MB, but not because of the list of stations. No, it's because it contains for every station, the list of every other station that is reachable from that station (and much more garbage)

Antonio Pedro โ˜• ยท Dec 31

api design is my passion