Skip to content
On this page

Home > sncf.js > StopArea

StopArea class

Signature:

typescript
export declare class StopArea

Constructors

Constructor

Modifiers

Description

(constructor)(Client, data)

Constructs a new instance of the StopArea class

Properties

Property

Modifiers

Type

Description

administrative_region

AdministrativeRegion | null

Return the Administative Region of the stop area (if exist)

coord

Coord

The coord of the stop area

id

string

The id of the stop area

name

string

The name of the stop area

timezone

string

The timezone of the stop area

Methods

Method

Modifiers

Description

arrivals(date)

Get the arrivals of the stop area

departures(date)

Get the departures of the stop area

journeys(to, date)

Get Journeys from the stop area

lines()

Get the lines of the stop area

routes()

Get the routes of the stop area

vehicle_journeys(since, until)

Get vehicle journeys of the stop area