alphaportal_get_bus_location
Track a student's bus in real time for the selected AM or PM run and retrieve latitude, longitude, speed, and vehicle ID. Provides the last known position when the bus is inactive.
Instructions
Get the live GPS location of a student's bus for the selected run (AM or PM): latitude, longitude, speed, and the vehicle id. Returns the last known position; empty when the bus is not currently running.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| shift | Yes | Which run to track: AM (to school) or PM (home). | |
| studentId | Yes | The numeric studentId (from alphaportal_list_students). |