def data(self) -> Dict[str, Any]:
data: Dict[str, Any] = {}<EOL>data["<STR_LIT>"] = self.station<EOL>data["<STR_LIT>"] = self.station_id<EOL>data["<STR_LIT>"] = self.products_filter<EOL>journeys = []<EOL>for j in sorted(self.journeys, key=lambda k: k.real_departure)[<EOL>: self.max_journeys<EOL>]:<EOL><INDENT>journeys.append(<EOL>{<EOL>"<STR_LIT>": j.product,<EOL>"<STR_LIT>": j.number,<EOL>"<STR_LIT>": j.train_id,<EOL>"<STR_LIT>": j.direction,<EOL>"<STR_LIT>": j.real_departure_time,<EOL>"<STR_LIT>": j.real_departure,<EOL>"<STR_LIT>": j.delay,<EOL>"<STR_LIT>": [s["<STR_LIT>"] for s in j.stops],<EOL>"<STR_LIT:info>": j.info,<EOL>"<STR_LIT>": j.info_long,<EOL>"<STR_LIT>": j.icon,<EOL>}<EOL>)<EOL><DEDENT>data["<STR_LIT>"] = journeys<EOL>return data<EOL>
Return travel data.