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
-
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]}¶
-
defaultProducts
: List[str] = ['long_distance_express', 'long_distance', 'regional_express', 'regional', 'suburban', 'bus', 'ferry', 'subway', 'tram', 'anruf_sammel_taxi']¶
-
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'}¶
-
timezone
: datetime.tzinfo = <DstTzInfo 'Europe/Berlin' LMT+0:53:00 STD>¶
-