Skip to content
On this page

Home > sncf.js > StopArea > journeys

StopArea.journeys() method

Get Journeys from the stop area

Signature:

typescript
journeys(to?: string, date?: Date): Promise<Journey[]>;

Parameters

Parameter

Type

Description

to

string

(Optional) The id or name of the destination

date

Date

(Optional) The date of the journey

**Returns:**

Promise<Journey[]>