Can i filter the TimetableResponse to selected content/times


#1

Firstly would like to see the Timetable disambiguation response corrected to show to correct URL:
https://api.tfl.gov.uk/Line/metropolitan/Timetable/940GZZLUPNR?direction=inbound (see techforum issue: how-do-i-get-timetable-info)

This response is 300Kb which is quite large for my little Arduino to process for my Bedroom Departure Board: https://hackaday.io/project/74922-tube-trainbus-bedroom-departure-board !

Could i add a filter to:
(a) cut out the stations and stops top level entries (which are 120Kb between them), and
(b) select a particular subkey tabletable/routes/schedules/knownJourneys/name (day of week)?

thanks!


#2

Solution for my particular issue with large JSON responses is here: https://arduinojson.org/v5/faq/how-to-reduce-memory-usage/ under Deserialise in Chunks… Which recommends parsing each arrival object separately.