DBProfile¶
Contents
For a documentation of the variables, please look at the documentation of ProfileInterface
-
class
pyhafas.profile.db.
DBProfile
(ua='pyhafas')[source]¶ Bases:
pyhafas.profile.base.BaseProfile
Profile of the HaFAS of Deutsche Bahn (DB) - German Railway - Regional and long-distance trains throughout Germany
-
availableProducts
: Dict[str, List[int]] = {'bus': [32], 'ferry': [64], 'long_distance': [2], 'long_distance_express': [1], 'regional': [8], 'regional_express': [4], 'suburban': [16], 'subway': [128], 'taxi': [512], 'tram': [256]}¶
-
defaultProducts
: List[str] = ['long_distance_express', 'long_distance', 'regional_express', 'regional', 'suburban', 'bus', 'ferry', 'subway', 'tram', 'taxi']¶
-