# `transportation.trafiklab.departureBoard` Fetches a public transport departure board from [Resrobot](https://www.trafiklab.se/api/trafiklab-apis/resrobot-v2-1/) (Trafiklab), for the timestamp the screen is being rendered at. ```yaml sources: bus: source: transportation.trafiklab.departureBoard params: stopId: "740000001" direction: "740000002" passlist: 0 accessId: ``` ## Params ```{eval-rst} .. autopydantic_model:: todays_paper_web.widgets.transportation.trafiklab.DepartureBoardParams ``` The request's `date`/`time` parameters come from the source's own `timestamp` — the render time set by the `Runner` (or by the CLI's `-t` flag, see {doc}`../screen-design/index`), not from `datetime.now()` — so a departure board renders "as of" whenever the screen it's on was rendered, consistent with the rest of that render. ## Returns A list of departure dicts as returned by Resrobot's `Departure` array, with each departure's `time` (and any `Stops.Stop[].arrTime`) parsed into `datetime`s. ```xml+jinja {% for departure in source("bus") %} {{ departure.time.strftime('%H:%M') }} {{ departure.get('name') }} {% endfor %} ```