module ESI::Client::Route
ESI
routes operations.
Public Instance Methods
Get the systems between origin and destination.
This endpoint is cached for up to 86400 seconds.
@esi_version dev @esi_version legacy @esi_version v1
@param destination [Integer] destination solar system ID @param origin [Integer] origin solar system ID @param avoid [Array] avoid solar system ID(s) @param connections [Array] connected solar system pairs @param flag [String] route security preference. Must be one of: `shortest`, `secure`, `insecure` @param params [Hash] Additional query string parameters @param headers [Hash] Additional headers
@raise [ESI::Errors::BadRequestError] Bad request @raise [ESI::Errors::NotFoundError] No route found @raise [ESI::Errors::ErrorLimitedError] Error limited @raise [ESI::Errors::InternalServerError] Internal server error @raise [ESI::Errors::ServiceUnavailableError] Service unavailable @raise [ESI::Errors::GatewayTimeoutError] Gateway timeout
@see esi.evetech.net/ui/#/Routes/get_route_origin_destination
# File lib/esi/client/routes.rb, line 31 def get_route_origin_destination(destination:, origin:, avoid: nil, connections: nil, flag: "shortest", headers: {}, params: {}) params.merge!("avoid" => avoid, "connections" => connections, "flag" => flag) get("/route/#{origin}/#{destination}/", headers: headers, params: params) end