@Path(value="/key/{key}/agency/{agency}")
public class GtfsRealtimeApi
extends java.lang.Object
| Constructor and Description |
|---|
GtfsRealtimeApi() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
getGtfsRealtimeTripFeed(StandardParameters stdParameters,
java.lang.String format)
For getting GTFS-realtime Vehicle Positions data for all vehicles.
|
javax.ws.rs.core.Response |
getGtfsRealtimeVehiclePositionsFeed(StandardParameters stdParameters,
java.lang.String format)
For getting GTFS-realtime Vehicle Positions data for all vehicles.
|
@Path(value="/command/gtfs-rt/vehiclePositions")
@GET
@Produces(value={"text/plain","application/octet-stream"})
public javax.ws.rs.core.Response getGtfsRealtimeVehiclePositionsFeed(@BeanParam
StandardParameters stdParameters,
@QueryParam(value="format")
java.lang.String format)
throws javax.ws.rs.WebApplicationException
stdParameters - format - if set to "human" then will output GTFS-rt data in human
readable format. Otherwise will output data in binary format.javax.ws.rs.WebApplicationException@Path(value="/command/gtfs-rt/tripUpdates")
@GET
@Produces(value={"text/plain","application/octet-stream"})
public javax.ws.rs.core.Response getGtfsRealtimeTripFeed(@BeanParam
StandardParameters stdParameters,
@QueryParam(value="format")
java.lang.String format)
throws javax.ws.rs.WebApplicationException
stdParameters - format - if set to "human" then will output GTFS-rt data in human
readable format. Otherwise will output data in binary format.javax.ws.rs.WebApplicationException