fshafas submodules

fshafas classes

class fshafas.fable_modules.fs_hafas_python.types_hafas_client.Alternative(trip_id: 'str', direction: 'str | None', location: 'Location | None', line: 'Line | None', stop: 'StationStop | None', when: 'str | None', planned_when: 'str | None', prognosed_when: 'str | None', delay: 'int | None', platform: 'str | None', planned_platform: 'str | None', prognosed_platform: 'str | None', remarks: 'Array[HintStatusWarning] | None', cancelled: 'bool | None', load_factor: 'str | None', provenance: 'str | None', previous_stopovers: 'Array[StopOver] | None', next_stopovers: 'Array[StopOver] | None', frames: 'Array[Frame] | None', polyline: 'FeatureCollection | None', current_trip_position: 'Location | None', origin: 'StationStopLocation | None', destination: 'StationStopLocation | None', prognosis_type: 'str | None')[source]

Bases: Record

cancelled: bool | None
current_trip_position: Location | None
delay: int | None
destination: StationStopLocation | None
direction: str | None
frames: MutableSequence[Frame] | None
line: Line | None
load_factor: str | None
location: Location | None
next_stopovers: MutableSequence[StopOver] | None
origin: StationStopLocation | None
planned_platform: str | None
planned_when: str | None
platform: str | None
polyline: FeatureCollection | None
previous_stopovers: MutableSequence[StopOver] | None
prognosed_platform: str | None
prognosed_when: str | None
prognosis_type: str | None
provenance: str | None
remarks: MutableSequence[HintStatusWarning] | None
stop: StationStop | None
trip_id: str
when: str | None
fshafas.fable_modules.fs_hafas_python.types_hafas_client.Alternative_reflection() TypeInfo
class fshafas.fable_modules.fs_hafas_python.types_hafas_client.ArrivalDeparture(arrival: 'float | None', departure: 'float | None')[source]

Bases: Record

arrival: float | None
departure: float | None
fshafas.fable_modules.fs_hafas_python.types_hafas_client.ArrivalDeparture_reflection() TypeInfo
class fshafas.fable_modules.fs_hafas_python.types_hafas_client.Arrivals(realtime_data_updated_at: 'int | None', arrivals: 'Array[Alternative]')[source]

Bases: Record

arrivals: MutableSequence[Alternative]
realtime_data_updated_at: int | None
fshafas.fable_modules.fs_hafas_python.types_hafas_client.Arrivals_reflection() TypeInfo
class fshafas.fable_modules.fs_hafas_python.types_hafas_client.BoundingBox(north: 'float', west: 'float', south: 'float', east: 'float')[source]

Bases: Record

east: float
north: float
south: float
west: float
fshafas.fable_modules.fs_hafas_python.types_hafas_client.BoundingBox_reflection() TypeInfo
class fshafas.fable_modules.fs_hafas_python.types_hafas_client.Cycle(min: 'int | None', max: 'int | None', nr: 'int | None')[source]

Bases: Record

max: int | None
min: int | None
nr: int | None
fshafas.fable_modules.fs_hafas_python.types_hafas_client.Cycle_reflection() TypeInfo
class fshafas.fable_modules.fs_hafas_python.types_hafas_client.Departures(realtime_data_updated_at: 'int | None', departures: 'Array[Alternative]')[source]

Bases: Record

departures: MutableSequence[Alternative]
realtime_data_updated_at: int | None
class fshafas.fable_modules.fs_hafas_python.types_hafas_client.DeparturesArrivalsOptions(when: 'Any | None', direction: 'str | None', line: 'str | None', duration: 'int | None', results: 'int | None', sub_stops: 'bool | None', entrances: 'bool | None', lines_of_stops: 'bool | None', remarks: 'bool | None', stopovers: 'bool | None', include_related_stations: 'bool | None', products: 'IndexMap_2[str, bool] | None', language: 'str | None')[source]

Bases: Record

direction: str | None
duration: int | None
entrances: bool | None
language: str | None
line: str | None
lines_of_stops: bool | None
products: IndexMap_2[str, bool] | None
remarks: bool | None
results: int | None
stopovers: bool | None
sub_stops: bool | None
when: Any | None
fshafas.fable_modules.fs_hafas_python.types_hafas_client.DeparturesArrivalsOptions_reflection() TypeInfo
fshafas.fable_modules.fs_hafas_python.types_hafas_client.Departures_reflection() TypeInfo
class fshafas.fable_modules.fs_hafas_python.types_hafas_client.Duration(duration: 'int', stations: 'Array[StationStopLocation]')[source]

Bases: Record

duration: int
stations: MutableSequence[StationStopLocation]
fshafas.fable_modules.fs_hafas_python.types_hafas_client.Duration_reflection() TypeInfo
class fshafas.fable_modules.fs_hafas_python.types_hafas_client.DurationsWithRealtimeData(realtime_data_updated_at: 'int | None', reachable: 'Array[Duration]')[source]

Bases: Record

reachable: MutableSequence[Duration]
realtime_data_updated_at: int | None
fshafas.fable_modules.fs_hafas_python.types_hafas_client.DurationsWithRealtimeData_reflection() TypeInfo
class fshafas.fable_modules.fs_hafas_python.types_hafas_client.Edge(from_location: 'StationStopLocation | None', to_location: 'StationStopLocation | None', icon: 'Icon | None', dir: 'int | None', ico_crd: 'IcoCrd | None')[source]

Bases: Record

dir: int | None
from_location: StationStopLocation | None
ico_crd: IcoCrd | None
icon: Icon | None
to_location: StationStopLocation | None
fshafas.fable_modules.fs_hafas_python.types_hafas_client.Edge_reflection() TypeInfo
class fshafas.fable_modules.fs_hafas_python.types_hafas_client.Event(from_location: 'StationStopLocation | None', to_location: 'StationStopLocation | None', start: 'str | None', end: 'str | None', sections: 'Array[str] | None')[source]

Bases: Record

end: str | None
from_location: StationStopLocation | None
sections: MutableSequence[str] | None
start: str | None
to_location: StationStopLocation | None
fshafas.fable_modules.fs_hafas_python.types_hafas_client.Event_reflection() TypeInfo
class fshafas.fable_modules.fs_hafas_python.types_hafas_client.Feature(type: 'str', properties: 'StationStopLocation | None', geometry: 'Geometry')[source]

Bases: Record

geometry: Geometry
properties: StationStopLocation | None
type: str
class fshafas.fable_modules.fs_hafas_python.types_hafas_client.FeatureCollection(type: 'str', features: 'Array[Feature]')[source]

Bases: Record

features: MutableSequence[Feature]
type: str
fshafas.fable_modules.fs_hafas_python.types_hafas_client.FeatureCollection_reflection() TypeInfo
fshafas.fable_modules.fs_hafas_python.types_hafas_client.Feature_reflection() TypeInfo
class fshafas.fable_modules.fs_hafas_python.types_hafas_client.Filter(type: 'str', mode: 'str', value: 'str')[source]

Bases: Record

mode: str
type: str
value: str
fshafas.fable_modules.fs_hafas_python.types_hafas_client.Filter_reflection() TypeInfo
class fshafas.fable_modules.fs_hafas_python.types_hafas_client.Frame(origin: 'StopLocation', destination: 'StopLocation', t: 'int | None')[source]

Bases: Record

destination: StopLocation
origin: StopLocation
t: int | None
fshafas.fable_modules.fs_hafas_python.types_hafas_client.Frame_reflection() TypeInfo
class fshafas.fable_modules.fs_hafas_python.types_hafas_client.Geometry(type: 'str', coordinates: 'Array[float]')[source]

Bases: Record

coordinates: MutableSequence[float]
type: str
fshafas.fable_modules.fs_hafas_python.types_hafas_client.Geometry_reflection() TypeInfo
class fshafas.fable_modules.fs_hafas_python.types_hafas_client.HafasClient(*args, **kwargs)[source]

Bases: Protocol

abstract arrivals(_HafasClient__arg0: Any, _HafasClient__arg1: DeparturesArrivalsOptions | None) Promise_1[Arrivals][source]
abstract departures(_HafasClient__arg0: Any, _HafasClient__arg1: DeparturesArrivalsOptions | None) Promise_1[Departures][source]
abstract journeys(_HafasClient__arg0: Any, _HafasClient__arg1: Any, _HafasClient__arg2: JourneysOptions | None) Promise_1[Journeys][source]
abstract journeys_from_trip(_HafasClient__arg0: str, _HafasClient__arg1: StopOver, _HafasClient__arg2: Any, _HafasClient__arg3: JourneysFromTripOptions | None) Promise_1[Journeys][source]
abstract lines(_HafasClient__arg0: str, _HafasClient__arg1: LinesOptions | None) Promise_1[LinesWithRealtimeData][source]
abstract locations(_HafasClient__arg0: str, _HafasClient__arg1: LocationsOptions | None) Promise_1[Array[StationStopLocation]][source]
abstract nearby(_HafasClient__arg0: Location, _HafasClient__arg1: NearByOptions | None) Promise_1[Array[StationStopLocation]][source]
abstract radar(_HafasClient__arg0: BoundingBox, _HafasClient__arg1: RadarOptions | None) Promise_1[Radar][source]
abstract reachable_from(_HafasClient__arg0: Location, _HafasClient__arg1: ReachableFromOptions | None) Promise_1[DurationsWithRealtimeData][source]
abstract refresh_journey(_HafasClient__arg0: str, _HafasClient__arg1: RefreshJourneyOptions | None) Promise_1[JourneyWithRealtimeData][source]
abstract remarks(_HafasClient__arg0: RemarksOptions | None) Promise_1[WarningsWithRealtimeData][source]
abstract server_info(_HafasClient__arg0: ServerOptions | None) Promise_1[ServerInfo][source]
abstract stop(_HafasClient__arg0: Any, _HafasClient__arg1: StopOptions | None) Promise_1[StationStopLocation][source]
abstract trip(_HafasClient__arg0: str, _HafasClient__arg1: TripOptions | None) Promise_1[TripWithRealtimeData][source]
abstract trips_by_name(_HafasClient__arg0: str, _HafasClient__arg1: TripsByNameOptions | None) Promise_1[TripsWithRealtimeData][source]
class fshafas.fable_modules.fs_hafas_python.types_hafas_client.Hint(type: 'str', code: 'str | None', summary: 'str | None', text: 'str', trip_id: 'str | None')[source]

Bases: Record

code: str | None
summary: str | None
text: str
trip_id: str | None
type: str
class fshafas.fable_modules.fs_hafas_python.types_hafas_client.HintStatusWarning(tag: int, *fields: Any)[source]

Bases: Union

static cases() list[str][source]
fields: MutableSequence[Any]
tag: int
fshafas.fable_modules.fs_hafas_python.types_hafas_client.HintStatusWarning_reflection() TypeInfo
fshafas.fable_modules.fs_hafas_python.types_hafas_client.Hint_reflection() TypeInfo
class fshafas.fable_modules.fs_hafas_python.types_hafas_client.IcoCrd(x: 'int', y: 'int', type: 'str | None')[source]

Bases: Record

type: str | None
x: int
y: int
fshafas.fable_modules.fs_hafas_python.types_hafas_client.IcoCrd_reflection() TypeInfo
class fshafas.fable_modules.fs_hafas_python.types_hafas_client.Journey(type: 'str', legs: 'Array[Leg]', refresh_token: 'str | None', remarks: 'Array[HintStatusWarning] | None', price: 'Price | None', tickets: 'Array[Ticket] | None', cycle: 'Cycle | None', scheduled_days: 'IndexMap_2[str, bool] | None')[source]

Bases: Record

cycle: Cycle | None
legs: MutableSequence[Leg]
price: Price | None
refresh_token: str | None
remarks: MutableSequence[HintStatusWarning] | None
scheduled_days: IndexMap_2[str, bool] | None
tickets: MutableSequence[Ticket] | None
type: str
class fshafas.fable_modules.fs_hafas_python.types_hafas_client.JourneyWithRealtimeData(realtime_data_updated_at: 'int | None', journey: 'Journey')[source]

Bases: Record

journey: Journey
realtime_data_updated_at: int | None
fshafas.fable_modules.fs_hafas_python.types_hafas_client.JourneyWithRealtimeData_reflection() TypeInfo
fshafas.fable_modules.fs_hafas_python.types_hafas_client.Journey_reflection() TypeInfo
class fshafas.fable_modules.fs_hafas_python.types_hafas_client.Journeys(realtime_data_updated_at: 'int | None', earlier_ref: 'str | None', later_ref: 'str | None', journeys: 'Array[Journey] | None')[source]

Bases: Record

earlier_ref: str | None
journeys: MutableSequence[Journey] | None
later_ref: str | None
realtime_data_updated_at: int | None
class fshafas.fable_modules.fs_hafas_python.types_hafas_client.JourneysFromTripOptions(stopovers: 'bool | None', transfer_time: 'int | None', accessibility: 'str | None', tickets: 'bool | None', polylines: 'bool | None', sub_stops: 'bool | None', entrances: 'bool | None', remarks: 'bool | None', products: 'IndexMap_2[str, bool] | None')[source]

Bases: Record

accessibility: str | None
entrances: bool | None
polylines: bool | None
products: IndexMap_2[str, bool] | None
remarks: bool | None
stopovers: bool | None
sub_stops: bool | None
tickets: bool | None
transfer_time: int | None
fshafas.fable_modules.fs_hafas_python.types_hafas_client.JourneysFromTripOptions_reflection() TypeInfo
class fshafas.fable_modules.fs_hafas_python.types_hafas_client.JourneysOptions(departure: 'Any | None', arrival: 'Any | None', earlier_than: 'str | None', later_than: 'str | None', results: 'int | None', via: 'str | None', stopovers: 'bool | None', transfers: 'int | None', transfer_time: 'int | None', accessibility: 'str | None', bike: 'bool | None', products: 'IndexMap_2[str, bool] | None', tickets: 'bool | None', polylines: 'bool | None', sub_stops: 'bool | None', entrances: 'bool | None', remarks: 'bool | None', walking_speed: 'str | None', start_with_walking: 'bool | None', language: 'str | None', scheduled_days: 'bool | None', when: 'Any | None', first_class: 'bool | None', age_group: 'str | None', age: 'int | None', loyalty_card: 'LoyaltyCard | None', routing_mode: 'str | None', generate_unreliable_ticket_urls: 'bool | None')[source]

Bases: Record

accessibility: str | None
age: int | None
age_group: str | None
arrival: Any | None
bike: bool | None
departure: Any | None
earlier_than: str | None
entrances: bool | None
first_class: bool | None
generate_unreliable_ticket_urls: bool | None
language: str | None
later_than: str | None
loyalty_card: LoyaltyCard | None
polylines: bool | None
products: IndexMap_2[str, bool] | None
remarks: bool | None
results: int | None
routing_mode: str | None
scheduled_days: bool | None
start_with_walking: bool | None
stopovers: bool | None
sub_stops: bool | None
tickets: bool | None
transfer_time: int | None
transfers: int | None
via: str | None
walking_speed: str | None
when: Any | None
class fshafas.fable_modules.fs_hafas_python.types_hafas_client.JourneysOptionsCommon(departure: 'Any | None', arrival: 'Any | None', earlier_than: 'str | None', later_than: 'str | None', results: 'int | None', via: 'str | None', stopovers: 'bool | None', transfers: 'int | None', transfer_time: 'int | None', accessibility: 'str | None', bike: 'bool | None', products: 'IndexMap_2[str, bool] | None', tickets: 'bool | None', polylines: 'bool | None', sub_stops: 'bool | None', entrances: 'bool | None', remarks: 'bool | None', walking_speed: 'str | None', start_with_walking: 'bool | None', language: 'str | None', scheduled_days: 'bool | None', when: 'Any | None')[source]

Bases: Record

accessibility: str | None
arrival: Any | None
bike: bool | None
departure: Any | None
earlier_than: str | None
entrances: bool | None
language: str | None
later_than: str | None
polylines: bool | None
products: IndexMap_2[str, bool] | None
remarks: bool | None
results: int | None
scheduled_days: bool | None
start_with_walking: bool | None
stopovers: bool | None
sub_stops: bool | None
tickets: bool | None
transfer_time: int | None
transfers: int | None
via: str | None
walking_speed: str | None
when: Any | None
fshafas.fable_modules.fs_hafas_python.types_hafas_client.JourneysOptionsCommon_reflection() TypeInfo
class fshafas.fable_modules.fs_hafas_python.types_hafas_client.JourneysOptionsDbProfile(first_class: 'bool | None', age_group: 'str | None', age: 'int | None', loyalty_card: 'LoyaltyCard | None', routing_mode: 'str | None', generate_unreliable_ticket_urls: 'bool | None')[source]

Bases: Record

age: int | None
age_group: str | None
first_class: bool | None
generate_unreliable_ticket_urls: bool | None
loyalty_card: LoyaltyCard | None
routing_mode: str | None
fshafas.fable_modules.fs_hafas_python.types_hafas_client.JourneysOptionsDbProfile_reflection() TypeInfo
fshafas.fable_modules.fs_hafas_python.types_hafas_client.JourneysOptions_reflection() TypeInfo
fshafas.fable_modules.fs_hafas_python.types_hafas_client.Journeys_reflection() TypeInfo
class fshafas.fable_modules.fs_hafas_python.types_hafas_client.Leg(trip_id: 'str | None', origin: 'StationStopLocation | None', destination: 'StationStopLocation | None', departure: 'str | None', planned_departure: 'str | None', prognosed_arrival: 'str | None', departure_delay: 'int | None', departure_platform: 'str | None', prognosed_departure_platform: 'str | None', planned_departure_platform: 'str | None', arrival: 'str | None', planned_arrival: 'str | None', prognosed_departure: 'str | None', arrival_delay: 'int | None', arrival_platform: 'str | None', prognosed_arrival_platform: 'str | None', planned_arrival_platform: 'str | None', stopovers: 'Array[StopOver] | None', schedule: 'float | None', price: 'Price | None', operator: 'float | None', direction: 'str | None', line: 'Line | None', reachable: 'bool | None', cancelled: 'bool | None', walking: 'bool | None', load_factor: 'str | None', distance: 'int | None', public: 'bool | None', transfer: 'bool | None', cycle: 'Cycle | None', alternatives: 'Array[Alternative] | None', polyline: 'FeatureCollection | None', remarks: 'Array[HintStatusWarning] | None', current_location: 'Location | None', departure_prognosis_type: 'str | None', arrival_prognosis_type: 'str | None', checkin: 'bool | None')[source]

Bases: Record

alternatives: MutableSequence[Alternative] | None
arrival: str | None
arrival_delay: int | None
arrival_platform: str | None
arrival_prognosis_type: str | None
cancelled: bool | None
checkin: bool | None
current_location: Location | None
cycle: Cycle | None
departure: str | None
departure_delay: int | None
departure_platform: str | None
departure_prognosis_type: str | None
destination: StationStopLocation | None
direction: str | None
distance: int | None
line: Line | None
load_factor: str | None
operator: float | None
origin: StationStopLocation | None
planned_arrival: str | None
planned_arrival_platform: str | None
planned_departure: str | None
planned_departure_platform: str | None
polyline: FeatureCollection | None
price: Price | None
prognosed_arrival: str | None
prognosed_arrival_platform: str | None
prognosed_departure: str | None
prognosed_departure_platform: str | None
public: bool | None
reachable: bool | None
remarks: MutableSequence[HintStatusWarning] | None
schedule: float | None
stopovers: MutableSequence[StopOver] | None
transfer: bool | None
trip_id: str | None
walking: bool | None
fshafas.fable_modules.fs_hafas_python.types_hafas_client.Leg_reflection() TypeInfo
class fshafas.fable_modules.fs_hafas_python.types_hafas_client.Line(type: 'str', match_id: 'str | None', id: 'str | None', name: 'str | None', admin_code: 'str | None', fahrt_nr: 'str | None', additional_name: 'str | None', product: 'str | None', public: 'bool | None', mode: 'str | None', routes: 'Array[str] | None', operator: 'Operator | None', express: 'bool | None', metro: 'bool | None', night: 'bool | None', nr: 'int | None', symbol: 'str | None', directions: 'Array[str] | None', product_name: 'str | None')[source]

Bases: Record

additional_name: str | None
admin_code: str | None
directions: MutableSequence[str] | None
express: bool | None
fahrt_nr: str | None
id: str | None
match_id: str | None
metro: bool | None
mode: str | None
name: str | None
night: bool | None
nr: int | None
operator: Operator | None
product: str | None
product_name: str | None
public: bool | None
routes: MutableSequence[str] | None
symbol: str | None
type: str
fshafas.fable_modules.fs_hafas_python.types_hafas_client.Line_reflection() TypeInfo
class fshafas.fable_modules.fs_hafas_python.types_hafas_client.LinesOptions(language: 'str | None')[source]

Bases: Record

language: str | None
fshafas.fable_modules.fs_hafas_python.types_hafas_client.LinesOptions_reflection() TypeInfo
class fshafas.fable_modules.fs_hafas_python.types_hafas_client.LinesWithRealtimeData(realtime_data_updated_at: 'int | None', lines: 'Array[Line] | None')[source]

Bases: Record

lines: MutableSequence[Line] | None
realtime_data_updated_at: int | None
fshafas.fable_modules.fs_hafas_python.types_hafas_client.LinesWithRealtimeData_reflection() TypeInfo
class fshafas.fable_modules.fs_hafas_python.types_hafas_client.Location(type: 'str', id: 'str | None', name: 'str | None', poi: 'bool | None', address: 'str | None', longitude: 'float | None', latitude: 'float | None', altitude: 'float | None', distance: 'int | None')[source]

Bases: Record

address: str | None
altitude: float | None
distance: int | None
id: str | None
latitude: float | None
longitude: float | None
name: str | None
poi: bool | None
type: str
fshafas.fable_modules.fs_hafas_python.types_hafas_client.Location_reflection() TypeInfo
class fshafas.fable_modules.fs_hafas_python.types_hafas_client.LocationsOptions(fuzzy: 'bool | None', results: 'int | None', stops: 'bool | None', addresses: 'bool | None', poi: 'bool | None', sub_stops: 'bool | None', entrances: 'bool | None', lines_of_stops: 'bool | None', language: 'str | None')[source]

Bases: Record

addresses: bool | None
entrances: bool | None
fuzzy: bool | None
language: str | None
lines_of_stops: bool | None
poi: bool | None
results: int | None
stops: bool | None
sub_stops: bool | None
fshafas.fable_modules.fs_hafas_python.types_hafas_client.LocationsOptions_reflection() TypeInfo
class fshafas.fable_modules.fs_hafas_python.types_hafas_client.LoyaltyCard(type: 'str', discount: 'int | None', class_: 'int | None')[source]

Bases: Record

class_: int | None
discount: int | None
type: str
fshafas.fable_modules.fs_hafas_python.types_hafas_client.LoyaltyCard_reflection() TypeInfo
class fshafas.fable_modules.fs_hafas_python.types_hafas_client.Movement(direction: 'str | None', trip_id: 'str | None', line: 'Line | None', location: 'Location | None', next_stopovers: 'Array[StopOver] | None', frames: 'Array[Frame] | None', polyline: 'FeatureCollection | None')[source]

Bases: Record

direction: str | None
frames: MutableSequence[Frame] | None
line: Line | None
location: Location | None
next_stopovers: MutableSequence[StopOver] | None
polyline: FeatureCollection | None
trip_id: str | None
fshafas.fable_modules.fs_hafas_python.types_hafas_client.Movement_reflection() TypeInfo
class fshafas.fable_modules.fs_hafas_python.types_hafas_client.NearByOptions(results: 'int | None', distance: 'int | None', poi: 'bool | None', stops: 'bool | None', products: 'IndexMap_2[str, bool] | None', sub_stops: 'bool | None', entrances: 'bool | None', lines_of_stops: 'bool | None', language: 'str | None')[source]

Bases: Record

distance: int | None
entrances: bool | None
language: str | None
lines_of_stops: bool | None
poi: bool | None
products: IndexMap_2[str, bool] | None
results: int | None
stops: bool | None
sub_stops: bool | None
fshafas.fable_modules.fs_hafas_python.types_hafas_client.NearByOptions_reflection() TypeInfo
class fshafas.fable_modules.fs_hafas_python.types_hafas_client.Operator(type: 'str', id: 'str', name: 'str')[source]

Bases: Record

id: str
name: str
type: str
fshafas.fable_modules.fs_hafas_python.types_hafas_client.Operator_reflection() TypeInfo
class fshafas.fable_modules.fs_hafas_python.types_hafas_client.Price(amount: 'float', currency: 'str | None', hint: 'str | None')[source]

Bases: Record

amount: float
currency: str | None
hint: str | None
class fshafas.fable_modules.fs_hafas_python.types_hafas_client.PriceObj(amount: 'float')[source]

Bases: Record

amount: float
fshafas.fable_modules.fs_hafas_python.types_hafas_client.PriceObj_reflection() TypeInfo
fshafas.fable_modules.fs_hafas_python.types_hafas_client.Price_reflection() TypeInfo
class fshafas.fable_modules.fs_hafas_python.types_hafas_client.ProductType(id: 'str', mode: 'str', name: 'str', short: 'str', bitmasks: 'Array[int]', default: 'bool')[source]

Bases: Record

bitmasks: MutableSequence[int]
default: bool
id: str
mode: str
name: str
short: str
fshafas.fable_modules.fs_hafas_python.types_hafas_client.ProductType_reflection() TypeInfo
class fshafas.fable_modules.fs_hafas_python.types_hafas_client.Profile(*args, **kwargs)[source]

Bases: Protocol

abstract property endpoint: str
abstract property journeys_from_trip: bool | None
abstract property journeys_walking_speed: bool | None
abstract property lines: bool | None
abstract property locale: str
abstract property products: MutableSequence[ProductType]
abstract property radar: bool | None
abstract property reachable_from: bool | None
abstract property refresh_journey: bool | None
abstract property remarks: bool | None
abstract property remarks_get_polyline: bool | None
abstract property timezone: str
abstract property trip: bool | None
abstract property trips_by_name: bool | None
class fshafas.fable_modules.fs_hafas_python.types_hafas_client.Radar(realtime_data_updated_at: 'int | None', movements: 'Array[Movement] | None')[source]

Bases: Record

movements: MutableSequence[Movement] | None
realtime_data_updated_at: int | None
class fshafas.fable_modules.fs_hafas_python.types_hafas_client.RadarOptions(results: 'int | None', frames: 'int | None', products: 'IndexMap_2[str, bool] | None', duration: 'int | None', sub_stops: 'bool | None', entrances: 'bool | None', polylines: 'bool | None', when: 'Any | None')[source]

Bases: Record

duration: int | None
entrances: bool | None
frames: int | None
polylines: bool | None
products: IndexMap_2[str, bool] | None
results: int | None
sub_stops: bool | None
when: Any | None
fshafas.fable_modules.fs_hafas_python.types_hafas_client.RadarOptions_reflection() TypeInfo
fshafas.fable_modules.fs_hafas_python.types_hafas_client.Radar_reflection() TypeInfo
class fshafas.fable_modules.fs_hafas_python.types_hafas_client.ReachableFromOptions(when: 'Any | None', max_transfers: 'int | None', max_duration: 'int | None', products: 'IndexMap_2[str, bool] | None', sub_stops: 'bool | None', entrances: 'bool | None', polylines: 'bool | None')[source]

Bases: Record

entrances: bool | None
max_duration: int | None
max_transfers: int | None
polylines: bool | None
products: IndexMap_2[str, bool] | None
sub_stops: bool | None
when: Any | None
fshafas.fable_modules.fs_hafas_python.types_hafas_client.ReachableFromOptions_reflection() TypeInfo
class fshafas.fable_modules.fs_hafas_python.types_hafas_client.RefreshJourneyOptions(stopovers: 'bool | None', polylines: 'bool | None', tickets: 'bool | None', sub_stops: 'bool | None', entrances: 'bool | None', remarks: 'bool | None', scheduled_days: 'bool | None', generate_unreliable_ticket_urls: 'bool | None', language: 'str | None')[source]

Bases: Record

entrances: bool | None
generate_unreliable_ticket_urls: bool | None
language: str | None
polylines: bool | None
remarks: bool | None
scheduled_days: bool | None
stopovers: bool | None
sub_stops: bool | None
tickets: bool | None
fshafas.fable_modules.fs_hafas_python.types_hafas_client.RefreshJourneyOptions_reflection() TypeInfo
class fshafas.fable_modules.fs_hafas_python.types_hafas_client.Region(type: 'str', id: 'str', name: 'str', stations: 'Array[str]')[source]

Bases: Record

id: str
name: str
stations: MutableSequence[str]
type: str
fshafas.fable_modules.fs_hafas_python.types_hafas_client.Region_reflection() TypeInfo
class fshafas.fable_modules.fs_hafas_python.types_hafas_client.ReisezentrumOpeningHours(Mo: 'str | None', Di: 'str | None', Mi: 'str | None', Do: 'str | None', Fr: 'str | None', Sa: 'str | None', So: 'str | None')[source]

Bases: Record

Di: str | None
Do: str | None
Fr: str | None
Mi: str | None
Mo: str | None
Sa: str | None
So: str | None
fshafas.fable_modules.fs_hafas_python.types_hafas_client.ReisezentrumOpeningHours_reflection() TypeInfo
class fshafas.fable_modules.fs_hafas_python.types_hafas_client.RemarksOptions(from_: 'Any | None', to: 'Any | None', results: 'int | None', products: 'IndexMap_2[str, bool] | None', polylines: 'bool | None', language: 'str | None')[source]

Bases: Record

from_: Any | None
language: str | None
polylines: bool | None
products: IndexMap_2[str, bool] | None
results: int | None
to: Any | None
fshafas.fable_modules.fs_hafas_python.types_hafas_client.RemarksOptions_reflection() TypeInfo
class fshafas.fable_modules.fs_hafas_python.types_hafas_client.Route(type: 'str', id: 'str', line: 'str', mode: 'str', stops: 'Array[str]')[source]

Bases: Record

id: str
line: str
mode: str
stops: MutableSequence[str]
type: str
fshafas.fable_modules.fs_hafas_python.types_hafas_client.Route_reflection() TypeInfo
class fshafas.fable_modules.fs_hafas_python.types_hafas_client.Schedule(type: 'str', id: 'str', route: 'str', mode: 'str', sequence: 'Array[ArrivalDeparture]', starts: 'Array[str]')[source]

Bases: Record

id: str
mode: str
route: str
sequence: MutableSequence[ArrivalDeparture]
starts: MutableSequence[str]
type: str
fshafas.fable_modules.fs_hafas_python.types_hafas_client.Schedule_reflection() TypeInfo
class fshafas.fable_modules.fs_hafas_python.types_hafas_client.ServerInfo(realtime_data_updated_at: 'int | None', hci_version: 'str | None', timetable_start: 'str | None', timetable_end: 'str | None', server_time: 'str | None')[source]

Bases: Record

hci_version: str | None
realtime_data_updated_at: int | None
server_time: str | None
timetable_end: str | None
timetable_start: str | None
fshafas.fable_modules.fs_hafas_python.types_hafas_client.ServerInfo_reflection() TypeInfo
class fshafas.fable_modules.fs_hafas_python.types_hafas_client.ServerOptions(version_info: 'bool | None', language: 'str | None')[source]

Bases: Record

language: str | None
version_info: bool | None
fshafas.fable_modules.fs_hafas_python.types_hafas_client.ServerOptions_reflection() TypeInfo
class fshafas.fable_modules.fs_hafas_python.types_hafas_client.Station(type: 'str', id: 'str | None', name: 'str | None', station: 'Station | None', location: 'Location | None', products: 'IndexMap_2[str, bool] | None', lines: 'Array[Line] | None', is_meta: 'bool | None', regions: 'Array[str] | None', facilities: 'IndexMap_2[str, str] | None', reisezentrum_opening_hours: 'ReisezentrumOpeningHours | None', stops: 'Array[StationStopLocation] | None', entrances: 'Array[Location] | None', transit_authority: 'str | None', distance: 'int | None')[source]

Bases: Record

distance: int | None
entrances: MutableSequence[Location] | None
facilities: IndexMap_2[str, str] | None
id: str | None
is_meta: bool | None
lines: MutableSequence[Line] | None
location: Location | None
name: str | None
products: IndexMap_2[str, bool] | None
regions: MutableSequence[str] | None
reisezentrum_opening_hours: ReisezentrumOpeningHours | None
station: Station | None
stops: MutableSequence[StationStopLocation] | None
transit_authority: str | None
type: str
class fshafas.fable_modules.fs_hafas_python.types_hafas_client.StationStop(tag: int, *fields: Any)[source]

Bases: Union

static cases() list[str][source]
fields: MutableSequence[Any]
tag: int
class fshafas.fable_modules.fs_hafas_python.types_hafas_client.StationStopLocation(tag: int, *fields: Any)[source]

Bases: Union

static cases() list[str][source]
fields: MutableSequence[Any]
tag: int
fshafas.fable_modules.fs_hafas_python.types_hafas_client.StationStopLocation_reflection() TypeInfo
fshafas.fable_modules.fs_hafas_python.types_hafas_client.StationStop_reflection() TypeInfo
fshafas.fable_modules.fs_hafas_python.types_hafas_client.Station_reflection() TypeInfo
class fshafas.fable_modules.fs_hafas_python.types_hafas_client.Status(type: 'str', code: 'str | None', summary: 'str | None', text: 'str', trip_id: 'str | None')[source]

Bases: Record

code: str | None
summary: str | None
text: str
trip_id: str | None
type: str
fshafas.fable_modules.fs_hafas_python.types_hafas_client.Status_reflection() TypeInfo
class fshafas.fable_modules.fs_hafas_python.types_hafas_client.Stop(type: 'str', id: 'str | None', name: 'str | None', location: 'Location | None', station: 'Station | None', products: 'IndexMap_2[str, bool] | None', lines: 'Array[Line] | None', is_meta: 'bool | None', facilities: 'IndexMap_2[str, str] | None', reisezentrum_opening_hours: 'ReisezentrumOpeningHours | None', ids: 'IndexMap_2[str, str] | None', load_factor: 'str | None', entrances: 'Array[Location] | None', transit_authority: 'str | None', distance: 'int | None')[source]

Bases: Record

distance: int | None
entrances: MutableSequence[Location] | None
facilities: IndexMap_2[str, str] | None
id: str | None
ids: IndexMap_2[str, str] | None
is_meta: bool | None
lines: MutableSequence[Line] | None
load_factor: str | None
location: Location | None
name: str | None
products: IndexMap_2[str, bool] | None
reisezentrum_opening_hours: ReisezentrumOpeningHours | None
station: Station | None
transit_authority: str | None
type: str
class fshafas.fable_modules.fs_hafas_python.types_hafas_client.StopLocation(tag: int, *fields: Any)[source]

Bases: Union

static cases() list[str][source]
fields: MutableSequence[Any]
tag: int
fshafas.fable_modules.fs_hafas_python.types_hafas_client.StopLocation_reflection() TypeInfo
class fshafas.fable_modules.fs_hafas_python.types_hafas_client.StopOptions(lines_of_stops: 'bool | None', sub_stops: 'bool | None', entrances: 'bool | None', remarks: 'bool | None', language: 'str | None')[source]

Bases: Record

entrances: bool | None
language: str | None
lines_of_stops: bool | None
remarks: bool | None
sub_stops: bool | None
fshafas.fable_modules.fs_hafas_python.types_hafas_client.StopOptions_reflection() TypeInfo
class fshafas.fable_modules.fs_hafas_python.types_hafas_client.StopOver(stop: 'StationStop | None', departure: 'str | None', departure_delay: 'int | None', prognosed_departure: 'str | None', planned_departure: 'str | None', departure_platform: 'str | None', prognosed_departure_platform: 'str | None', planned_departure_platform: 'str | None', arrival: 'str | None', arrival_delay: 'int | None', prognosed_arrival: 'str | None', planned_arrival: 'str | None', arrival_platform: 'str | None', prognosed_arrival_platform: 'str | None', planned_arrival_platform: 'str | None', remarks: 'Array[HintStatusWarning] | None', pass_by: 'bool | None', cancelled: 'bool | None', departure_prognosis_type: 'str | None', arrival_prognosis_type: 'str | None', additional: 'bool | None')[source]

Bases: Record

additional: bool | None
arrival: str | None
arrival_delay: int | None
arrival_platform: str | None
arrival_prognosis_type: str | None
cancelled: bool | None
departure: str | None
departure_delay: int | None
departure_platform: str | None
departure_prognosis_type: str | None
pass_by: bool | None
planned_arrival: str | None
planned_arrival_platform: str | None
planned_departure: str | None
planned_departure_platform: str | None
prognosed_arrival: str | None
prognosed_arrival_platform: str | None
prognosed_departure: str | None
prognosed_departure_platform: str | None
remarks: MutableSequence[HintStatusWarning] | None
stop: StationStop | None
fshafas.fable_modules.fs_hafas_python.types_hafas_client.StopOver_reflection() TypeInfo
fshafas.fable_modules.fs_hafas_python.types_hafas_client.Stop_reflection() TypeInfo
class fshafas.fable_modules.fs_hafas_python.types_hafas_client.Ticket(name: 'str', price_obj: 'PriceObj | None', url: 'str | None')[source]

Bases: Record

name: str
price_obj: PriceObj | None
url: str | None
fshafas.fable_modules.fs_hafas_python.types_hafas_client.Ticket_reflection() TypeInfo
class fshafas.fable_modules.fs_hafas_python.types_hafas_client.Trip(id: 'str', origin: 'StationStopLocation | None', destination: 'StationStopLocation | None', departure: 'str | None', planned_departure: 'str | None', prognosed_arrival: 'str | None', departure_delay: 'int | None', departure_platform: 'str | None', prognosed_departure_platform: 'str | None', planned_departure_platform: 'str | None', arrival: 'str | None', planned_arrival: 'str | None', prognosed_departure: 'str | None', arrival_delay: 'int | None', arrival_platform: 'str | None', prognosed_arrival_platform: 'str | None', planned_arrival_platform: 'str | None', stopovers: 'Array[StopOver] | None', schedule: 'float | None', price: 'Price | None', operator: 'float | None', direction: 'str | None', line: 'Line | None', cancelled: 'bool | None', walking: 'bool | None', load_factor: 'str | None', distance: 'int | None', public: 'bool | None', transfer: 'bool | None', cycle: 'Cycle | None', alternatives: 'Array[Alternative] | None', polyline: 'FeatureCollection | None', remarks: 'Array[HintStatusWarning] | None', current_location: 'Location | None', departure_prognosis_type: 'str | None', arrival_prognosis_type: 'str | None', checkin: 'bool | None', scheduled_days: 'IndexMap_2[str, bool] | None')[source]

Bases: Record

alternatives: MutableSequence[Alternative] | None
arrival: str | None
arrival_delay: int | None
arrival_platform: str | None
arrival_prognosis_type: str | None
cancelled: bool | None
checkin: bool | None
current_location: Location | None
cycle: Cycle | None
departure: str | None
departure_delay: int | None
departure_platform: str | None
departure_prognosis_type: str | None
destination: StationStopLocation | None
direction: str | None
distance: int | None
id: str
line: Line | None
load_factor: str | None
operator: float | None
origin: StationStopLocation | None
planned_arrival: str | None
planned_arrival_platform: str | None
planned_departure: str | None
planned_departure_platform: str | None
polyline: FeatureCollection | None
price: Price | None
prognosed_arrival: str | None
prognosed_arrival_platform: str | None
prognosed_departure: str | None
prognosed_departure_platform: str | None
public: bool | None
remarks: MutableSequence[HintStatusWarning] | None
schedule: float | None
scheduled_days: IndexMap_2[str, bool] | None
stopovers: MutableSequence[StopOver] | None
transfer: bool | None
walking: bool | None
class fshafas.fable_modules.fs_hafas_python.types_hafas_client.TripOptions(stopovers: 'bool | None', polyline: 'bool | None', sub_stops: 'bool | None', entrances: 'bool | None', remarks: 'bool | None', scheduled_days: 'bool | None', language: 'str | None')[source]

Bases: Record

entrances: bool | None
language: str | None
polyline: bool | None
remarks: bool | None
scheduled_days: bool | None
stopovers: bool | None
sub_stops: bool | None
fshafas.fable_modules.fs_hafas_python.types_hafas_client.TripOptions_reflection() TypeInfo
class fshafas.fable_modules.fs_hafas_python.types_hafas_client.TripWithRealtimeData(realtime_data_updated_at: 'int | None', trip: 'Trip')[source]

Bases: Record

realtime_data_updated_at: int | None
trip: Trip
fshafas.fable_modules.fs_hafas_python.types_hafas_client.TripWithRealtimeData_reflection() TypeInfo
fshafas.fable_modules.fs_hafas_python.types_hafas_client.Trip_reflection() TypeInfo
class fshafas.fable_modules.fs_hafas_python.types_hafas_client.TripsByNameOptions(when: 'Any | None', from_when: 'Any | None', until_when: 'Any | None', only_currently_running: 'bool | None', products: 'IndexMap_2[str, bool] | None', currently_stopping_at: 'str | None', line_name: 'str | None', operator_names: 'Array[str] | None', additional_filters: 'Array[Filter] | None')[source]

Bases: Record

additional_filters: MutableSequence[Filter] | None
currently_stopping_at: str | None
from_when: Any | None
line_name: str | None
only_currently_running: bool | None
operator_names: MutableSequence[str] | None
products: IndexMap_2[str, bool] | None
until_when: Any | None
when: Any | None
fshafas.fable_modules.fs_hafas_python.types_hafas_client.TripsByNameOptions_reflection() TypeInfo
class fshafas.fable_modules.fs_hafas_python.types_hafas_client.TripsWithRealtimeData(realtime_data_updated_at: 'int | None', trips: 'Array[Trip]')[source]

Bases: Record

realtime_data_updated_at: int | None
trips: MutableSequence[Trip]
fshafas.fable_modules.fs_hafas_python.types_hafas_client.TripsWithRealtimeData_reflection() TypeInfo
class fshafas.fable_modules.fs_hafas_python.types_hafas_client.Warning(type: 'str', id: 'str | None', icon: 'Icon | None', summary: 'str | None', text: 'str | None', category: 'str | None', priority: 'int | None', products: 'IndexMap_2[str, bool] | None', edges: 'Array[Edge] | None', events: 'Array[Event] | None', valid_from: 'str | None', valid_until: 'str | None', modified: 'str | None', company: 'str | None', categories: 'Array[int] | None', affected_lines: 'Array[Line] | None', from_stops: 'Array[StationStopLocation] | None', to_stops: 'Array[StationStopLocation] | None')[source]

Bases: Record

affected_lines: MutableSequence[Line] | None
categories: MutableSequence[int] | None
category: str | None
company: str | None
edges: MutableSequence[Edge] | None
events: MutableSequence[Event] | None
from_stops: MutableSequence[StationStopLocation] | None
icon: Icon | None
id: str | None
modified: str | None
priority: int | None
products: IndexMap_2[str, bool] | None
summary: str | None
text: str | None
to_stops: MutableSequence[StationStopLocation] | None
type: str
valid_from: str | None
valid_until: str | None
fshafas.fable_modules.fs_hafas_python.types_hafas_client.Warning_reflection() TypeInfo
class fshafas.fable_modules.fs_hafas_python.types_hafas_client.WarningsWithRealtimeData(realtime_data_updated_at: 'int | None', remarks: 'Array[Warning]')[source]

Bases: Record

realtime_data_updated_at: int | None
remarks: MutableSequence[Warning]
fshafas.fable_modules.fs_hafas_python.types_hafas_client.WarningsWithRealtimeData_reflection() TypeInfo