Complete, up-to-date reference documentation: Pysae public API v4 (Redoc).
This article describes the transport plan API.
The "published" transport plan is the transport plan in production for a given group.
Access to the published transport plan
Variables:
<group_id>: network identifier
Result: returns the published transport plan file (GTFS format, zip file).
Access to a given transport plan
Variables:
<group_id>: network identifier
<gtfs_id>: transport plan identifier
Result: returns the GTFS ZIP archive of that plan. A file that is already published, or explicitly shared for public download, is accessible without authentication; other files require an authorised read role on the group.
Access to specific elements of the transport plan
Stops
Variables:
<group_id>: network identifier
<stop_id>: stop identifier
Result: returns the list of the network's stops and their information (name, location, etc.).
Routes
Variables:
<group_id>: network identifier
<route_id>: route identifier
Result: returns the list of the network's routes and their information.
Trips
Variables:
<group_id>: network identifier
<trip_id>: trip identifier
Result: returns the list of the network's trips and their information
Shapes
Variables:
<group_id>: network identifier
<shape_id>: shape identifier
Result: returns the list of the network's shapes and their information.