
queries.plan.graphql Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of otp-client Show documentation
Show all versions of otp-client Show documentation
Java client for the OpenTripPlanner GraphQL API
query {
plan(
fromPlace: "%s"
toPlace: "%s"
transportModes: [ %s ]
numItineraries: %s
date: "%s"
time: "%s"
arriveBy: %s
%s
walkReluctance: %s
carReluctance: %s
bikeReluctance: %s
bikeWalkingReluctance: %s
wheelchair: %s
%s
optimize: %s
%s
) {
itineraries {
startTime
endTime
accessibilityScore
legs {
startTime
endTime
realTime
from {
name
lon
lat
stop {
gtfsId
name
code
zoneId
parentStation {
gtfsId
}
}
vehicleRentalStation {
stationId
name
network
}
rentalVehicle {
vehicleId
name
network
vehicleType {
formFactor
propulsionType
}
}
vehicleParking {
vehicleParkingId
name
capacity {
bicycleSpaces
carSpaces
}
}
}
to {
name
lon
lat
stop {
gtfsId
name
code
zoneId
parentStation {
gtfsId
}
}
vehicleRentalStation {
stationId
name
network
}
rentalVehicle {
vehicleId
name
network
vehicleType {
formFactor
}
}
vehicleParking {
vehicleParkingId
name
capacity {
bicycleSpaces
carSpaces
}
}
}
mode
headsign
legGeometry {
points
}
route {
gtfsId
shortName
longName
type
agency {
gtfsId
name
}
}
trip {
gtfsId
tripShortName
tripHeadsign
}
duration
distance
rentedBike
intermediatePlaces {
name
departureTime
arrivalTime
stop {
gtfsId
name
code
zoneId
parentStation {
gtfsId
}
}
}
fareProducts {
id
product {
id
name
... on DefaultFareProduct {
price {
currency {
digits
code
}
amount
}
}
riderCategory {
id
name
}
medium {
id
name
}
}
}
accessibilityScore
agency {
gtfsId,
name
}
}
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy