VSNProfile

Contents

For a documentation of the variables, please look at the documentation of ProfileInterface

class pyhafas.profile.vsn.VSNProfile(ua=None)[source]

Bases: pyhafas.profile.vsn.requests.journey.VSNJourneyRequest, pyhafas.profile.base.BaseProfile

Profile for the HaFAS of “Verkehrsverbund Süd-Niedersachsen” (VSN) - local transportation provider

addMicMac: bool = True
availableProducts: Dict[str, List[int]] = {'anruf_sammel_taxi': [512], 'bus': [32], 'ferry': [64], 'long_distance': [2], 'long_distance_express': [1], 'regional': [8], 'regional_express': [4], 'suburban': [16], 'subway': [128], 'tram': [256]}
baseUrl: str = 'https://fahrplaner.vsninfo.de/hafas/mgate.exe'
defaultProducts: List[str] = ['long_distance_express', 'long_distance', 'regional_express', 'regional', 'suburban', 'bus', 'ferry', 'subway', 'tram', 'anruf_sammel_taxi']
defaultUserAgent: str = 'vsn/5.3.1 (iPad; iOS 13.3; Scale/2.00)'
locale: str = 'de-DE'
requestBody: dict = {'auth': {'aid': 'Mpf5UPC0DmzV8jkg', 'type': 'AID'}, 'client': {'id': 'VSN', 'name': 'vsn', 'os': 'iOS 13.3', 'type': 'IPA', 'v': '5030100'}, 'lang': 'de', 'ver': '1.24'}
salt: str = 'SP31mBufSyCLmNxp'
timezone: datetime.tzinfo = <DstTzInfo 'Europe/Berlin' LMT+0:53:00 STD>