-
Notifications
You must be signed in to change notification settings - Fork 0
data_classes
Alex Jung edited this page Dec 21, 2024
·
1 revision
Attribute | Type | Description |
---|---|---|
version | str | API internal information |
app_version | str | API internal information |
data_format | str | API internal information |
data_build | str | API internal information |
valid_from | date | Start validity date |
valid_to | date | End validity date |
Attribute | Type | Description |
---|---|---|
name | str | Name of location e.g. Nürnberg, Nordostbahnhof
|
loc_type | LocationType | Type of location e.g. STOP or POI
|
id | str | Location unique id |
coord | list[int] | Location coordinates |
transports | list[TransportType] | Transport type(s) this location pass |
parent | Location | None | Parent location |
stops | list[Location] | Location with type STOP assigned to this location |
properties | dict | API internal information |
Attribute | Type | Description |
---|---|---|
location | Location | Location of departure |
line_name | str | Line name e.g. U3
|
route | str | The complete route name from origin to destination stops e.g. Nordwestring - Hauptbahnhof - Plärrer - Großreuth bei Schweinau
|
origin | Location | Origin location |
destination | Location | Destination location |
transport | TransportType | Transport type e.g. Bus or Subway
|
planned_time | datetime | Planned departure time |
estimated_time | datetime | None | Estimated departure time(will be provided by endpoits supporting real time mode) |
infos | list[dict] | None | List of ICS messages |
Attribute | Type | Description |
---|---|---|
id | str | Line id |
name | str | Line name |
description | str | Route name |
product | TransportType | Type of transportation. Bus, Subway etc. |
destination | Location | Line destination location |
origin | Location | None | Line start location |
properties | dict | Additional properties |