Journey
Journey type provides details for a journey. This include traveling duration, distance and a list of intermediate stops for transit modes.
Attribute | Always Included | Type | Description |
---|---|---|---|
duration | Yes | TimeDelta | Expected time to cover that distance. |
intermediate | - | Integer | This attribute is set to 0 if for a specific transit journey we are not able to provide intermediate stops. Note: For other modes of transport beside transit, this parameter is not provided. The default is |
distance | - | Integer | Distance to cover in meters. If "units=imperial" is passed as request parameter the unit will be feet. |
Element | Always Included | Type | Description |
---|---|---|---|
Stop | - | List of Stop | Specifies station where the line stops. |