Read-only mirror of https://github.com/openTdataCH/api-explorer2 — SBB. Issues & pull requests at the source.
  • HTML 88.5%
  • CSS 11.5%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2025-07-14 15:36:57 +02:00
.github/workflows Create static.yml 2024-06-11 23:10:46 +02:00
dist Update swagger-initializer.js 2024-06-11 23:13:50 +02:00
javascript Add files via upload 2024-05-21 14:41:17 +02:00
index.html Update index.html 2024-06-11 23:08:24 +02:00
LICENSE Initial commit 2024-05-21 14:39:41 +02:00
openapi_ojp.yaml Update openapi_ojp.yaml fix OJP doc URL 2025-07-14 15:36:57 +02:00
openapi_ojpfare.yaml Create openapi_ojpfare.yaml 2024-12-07 14:18:08 +01:00
README.md Update README.md 2024-06-19 10:28:03 +02:00

api-explorer2

Matthias Günter, Matthias.Guenter@sbb.ch

Available under the MIT license: https://opensource.org/license/mit

Introduction

This is explorer for the OJP API. It is based on templates that can be changed. It currently connects to the OJP 1.0 and OJP 2.0 production server of SBB. The bearer tokens provided are for demonstration purposes only. If you really want to use it, get yourself a bearer token.

Running OPENAPI

https://opentdatach.github.io/api-explorer2

Issue tracking

If you encounter a problem, send a message to opendata@sbb.ch or open an issue here: https://github.com/openTdataCH/api-explorer2/issues

Further information

https://opentransportdata.swiss/de/cookbook/open-journey-planner-ojp/

A different example based on Javascript (deprecated)

https://html-preview.github.io/?url=https://github.com/openTdataCH/api-explorer2/blob/main/javascript/api-explorer_ojp1_swiss_prod.html