Skip to content
On this page

Home > sncf.js > StopArea > vehicle_journeys

StopArea.vehicle_journeys() method

Get vehicle journeys of the stop area

Signature:

typescript
vehicle_journeys(since?: Date, until?: Date): Promise<Vehicle[]>;

Parameters

Parameter

Type

Description

since

Date

(Optional) The start date of the vehicle journeys to get

until

Date

(Optional) The end date of the vehicle journeys to get (default: since + 1 day)

**Returns:**

Promise<Vehicle[]>