Get live vehicle positions
get_vehicle_positionsRetrieve live positions of Norwegian public transport vehicles by operator codespace or line, with bearing, speed, and delay.
Instructions
Get live positions of public transport vehicles (Entur realtime), filtered by operator codespace and/or line. Each vehicle shows its position, bearing, speed, and delay. Codespace examples: ATB (Trondheim), KOL (Stavanger), SKY (Bergen area). Get a line_id from get_departures.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| line_id | No | Line ID, e.g. 'ATB:Line:2_3'. Optional if codespace_id is given. | |
| max_results | No | Maximum number of vehicles to return | |
| codespace_id | No | Operator codespace, e.g. 'ATB'. Optional if line_id is given. |