Header menu logo fshafas

FsHafas.Client Namespace

FsHafas client types generated from TS types

Type/Module Description

AgeGroup

Alternative

ArrivalDeparture

Arrivals

BoundingBox

Cycle

Default

Departures

DeparturesArrivalsOptions

Duration

DurationsWithRealtimeData

Edge

EraseAttribute

Event

Facilities

Feature

FeatureCollection

FeatureCollectionType

FeatureType

Filter

Frame

Geometry

GeometryType

HafasClient

HafasError

Hint

HintStatusWarning

HintType

IcoCrd

Icon

Ids

Ids of a Stop, i.e. dhid as 'DELFI Haltestellen ID'

IndexMap<'s, 'b>

Journey

A journey is a computed set of directions to get from A to B at a specific time. It would typically be the result of a route planning algorithm.

Journeys

JourneysFromTripOptions

JourneysOptions

JourneysOptionsCommon

JourneysOptionsDbProfile

JourneysOptions specific to Db Profile

JourneyType

JourneyWithRealtimeData

Leg

Leg of journey

Line

LinesOptions

LinesWithRealtimeData

LineType

Location

A location object is used by other items to indicate their locations.

LocationsOptions

LocationType

Log

LoyaltyCard

Movement

NearByOptions

Operator

OperatorType

Price

PriceObj

Products

Each public transportation network exposes its products as boolean properties. See {@link ProductType}

ProductType

A ProductType relates to how a means of transport "works" in local context. Example: Even though S-Bahn and U-Bahn in Berlin are both trains, they have different operators, service patterns, stations and look different. Therefore, they are two distinct products subway and suburban.

ProductTypeMode

Profile

A profile is a specific customisation for each endpoint. It parses data from the API differently, add additional information, or enable non-default methods.

PrognosisType

Promise<'T>

Radar

RadarOptions

ReachableFromOptions

RefreshJourneyOptions

Region

A region is a group of stations, for example a metropolitan area or a geographical or cultural region.

RegionType

ReisezentrumOpeningHours

RemarksOptions

Route

A route represents a single set of stations, of a single line.

RouteType

RoutingMode

Schedule

There are many ways to format schedules of public transport routes. This one tries to balance the amount of data and consumability. It is specifically geared towards urban public transport, with frequent trains and homogenous travels.

ScheduledDays

ScheduleType

ServerInfo

ServerOptions

Station

A station is a larger building or area that can be identified by a name. It is usually represented by a single node on a public transport map. Whereas a stop usually specifies a location, a station often is a broader area that may span across multiple levels or buildings.

StationStop

StationStopLocation

StationType

Status

Stop

A stop is a single small point or structure at which vehicles stop. A stop always belongs to a station. It may for example be a sign, a basic shelter or a railway platform.

StopLocation

StopOptions

StopOver

A stopover represents a vehicle stopping at a stop/station at a specific time.

StopType

StringEnumAttribute

Ticket

Trip

Trip – a vehicle stopping at a set of stops at specific times

TripOptions

TripsByNameOptions

TripsWithRealtimeData

TripWithRealtimeData

U14<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j, 'k, 'l, 'm, 'n>

U2<'a, 'b>

U3<'a, 'b, 'c>

U4<'a, 'b, 'c, 'd>

Warning

WarningsWithRealtimeData

WarningType

Type something to start searching.