Skip to content

Commit

Permalink
GTFS endpoints added to flight data and to public transportation data
Browse files Browse the repository at this point in the history
  • Loading branch information
cdercoli committed Oct 23, 2023
1 parent 3d1f13d commit f402e42
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 6 deletions.
11 changes: 9 additions & 2 deletions src/content/datasets/mobility/flight.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,18 @@ This dataset contains information on real-time data and scheduled flights. Throu

| | |
| :---------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Output | JSON, mime-type application/json |
| Output | JSON, mime-type application/json, GTFS |
| API version | v2 |
| Endpoint | {{< target-blank-link
url="https://gtfs.api.opendatahub.com/v1/dataset/skyalps-flight-data/raw"
text="https://gtfs.api.opendatahub.com/v1/dataset/skyalps-flight-data/raw" >}}<br>This is the GTFS endpoint. <br>{{< target-blank-link
url="https://mobility.api.opendatahub.com/v2/flat/Flight"
text="https://mobility.api.opendatahub.com/v2/flat/Flight" >}} |
| Swagger URL | {{< target-blank-link
url="https://mobility.api.opendatahub.com/"
text="https://mobility.api.opendatahub.com/" >}} |
text="https://mobility.api.opendatahub.com/" >}} <br>{{< target-blank-link
url="https://gtfs.api.opendatahub.com/"
text="https://gtfs.api.opendatahub.com/" >}} |
| StationType | [Flight](https://mobility.api.opendatahub.com/v2/flat/Flight) |
| Wiki | [Flight Data API Wiki](https://github.com/noi-techpark/odh-docs/wiki/Flightdata-API) |
| Sources | SkyAlps |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ The Open Data Hub mobility data can be accessed with the OpenTripPlanner (OTP) A

| | |
| :---------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Output | JSON, mime-type application/json |
| Output | JSON, mime-type application/json, GTFS |
| API version | v2 |
| Endpoint | {{< target-blank-link
url="https://otp.opendatahub.com/otp/"
Expand Down
11 changes: 8 additions & 3 deletions src/content/datasets/mobility/publictransportation.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ This is the current reference API for the Open Data Hub Public Transportation da

| | |
| :---------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Output | JSON, mime-type application/json |
| Output | JSON, mime-type application/json, GTFS |
| API version | v2 |
| Endpoint | {{< target-blank-link
url="https://mobility.api.opendatahub.com/v2/XML_STOPFINDER_REQUEST"
Expand All @@ -35,8 +35,13 @@ This is the current reference API for the Open Data Hub Public Transportation da
url="https://mobility.api.opendatahub.com/v2/XML_COORD_REQUEST"
text="https://mobility.api.opendatahub.com/v2/XML_COORD_REQUEST" >}}<br>This endpoint allows obtaining the coordinates of a specific stop.<br>{{< target-blank-link
url="https://mobility.api.opendatahub.com/v2/XML_TRIP_REQUEST2"
text="https://mobility.api.opendatahub.com/v2/XML_TRIP_REQUEST2" >}}<br>This is the main endpoint, which enables calculating a route from point A to point B. |
| Documentation | This specification explains how these calls can be configure: {{< target-blank-link
text="https://mobility.api.opendatahub.com/v2/XML_TRIP_REQUEST2" >}}<br>This is the main endpoint, which enables calculating a route from point A to point B. <br>{{<target-blank-link
url="https://gtfs.api.opendatahub.com/v1/dataset/sta-time-tables/raw"
text="https://gtfs.api.opendatahub.com/v1/dataset/sta-time-tables/raw" >}}<br>This is the GTFS endpoint. |
| Swagger URL | {{< target-blank-link
url="https://gtfs.api.opendatahub.com/"
text="https://gtfs.api.opendatahub.com/" >}} <br> {{< target-blank-link >}} |
| Documentation | This specification explains how these calls can be configured: <br> {{< target-blank-link
url="https://data.civis.bz.it//dataset/575f7455-6447-4626-a474-0f93ff03067b/resource/c4e66cdf-7749-40ad-bcfd-179f18743d84/download/dokumentationxmlschnittstelleapbv32014-08-28.pdf"
text="https://data.civis.bz.it//dataset/575f7455-6447-4626-a474-0f93ff03067b/resource/c4e66cdf-7749-40ad-bcfd-179f18743d84/download/dokumentationxmlschnittstelleapbv32014-08-28.pdf" >}}<br><br>Examples of calls are available here: {{< target-blank-link
url="https://github.com/noi-techpark/it.bz.opendatahub.api.mobility-ninja/issues/29"
Expand Down
4 changes: 4 additions & 0 deletions src/data/quickstart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ boxes:
subtitle: A list of available howtos.
btn_link: https://opendatahub.readthedocs.io/en/latest/howto.html

- title: GTFS Endpoint
subtitle: A GTFS end-point within the Open Data Hub in some datasets.
btn_link: https://gtfs.api.opendatahub.com/v1/dataset

# - title: Knowledge Graph
# subtitle: Access the browseable Knowledge Graph: data is presented as Linked Data.
# btn_link: /use-cases/knowledge-graph/
Expand Down

0 comments on commit f402e42

Please sign in to comment.