The OJP Javascript SDK is the client used for communication with OJP APIs.
- OJP Demo App: https://opentdatach.github.io/ojp-demo-app/ - web application which is using the OJP SDK
- npm
ojp-sdk
package: https://www.npmjs.com/package/ojp-sdk - this repo CHANGELOG file
- include the
ojp-sdk
package in the./package.json
dependencies of your project
"dependencies": {
"ojp-sdk": "0.9.28"
}
- update project dependencies
$ npm install
- include OJP SDK in the Typescript / Javascript code
import * as OJP from 'ojp-sdk'
- for more details check:
- OJP Demo App source code
- this repo examples folder
The project is released under a MIT license.
Copyright (c) 2021 - 2023 Open Data Platform Mobility Switzerland - opentransportdata.swiss.