Pysae Public API v4
API by Pysae · rest
The Pysae API exposes the business objects of a transport network: the scheduled reference imported from the GTFS, the resources committed to operating it, what actually happens in service, and what is measured from it. Scope of a call Almost every endpoint is prefixed by /groups/{group_id}. The group is the operated network: it owns its own data, and no piece of data ever exists outside a group. An operator running several networks holds one group per network. Scheduled and actual Two notions look alike and must not be confused. The scheduled side describes what is planned — it comes from the imported GTFS and changes only when a new one is published. The actual side describes what happened — it is built from what the drivers' devices report during service. A trip is scheduled; its execution on a given day is actual. Versions and categories Endpoints are versioned, v4 being the default. Three documents are published for each version: the public…
Endpoint: https://api.pysae.com/
Verification: observed. Source: crawl.
Capabilities (128)
- Get all superuser and groupless API keys
- Create a multi-group or superuser API Key
- Delete a superuser or groupless API Key
- Get auth provider for a group
- Return the alerts for the given group_id.
- Return the alert with the given alert_id.
- Get all declared API keys
- Create a new API Key
- Get a declared API key
- Rename an existing API Key
- Delete an existing API Key
- List non-commercial vehicle movements (HLP) of a block on a given day
- Find Danger Zones
- Find Depots
- Get all devices
- Get all devices that are online
- Count all devices that are online combined by route_id
- Return the device for the given device_id.
- Get the reconstructed state of a device at a given point in time
- Return the drivers for the given group_id.
- Return the driver for the given driver_id.
- Get a rating left by a specific driver.
- Get list of duties.
- Get comments of duties filtered by start_date
- Get a specific duty.