0.16.2 • Published 4 months ago

ojp-sdk v0.16.2

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

OJP Javascript SDK

The OJP Javascript SDK is a Javascript/Typescript package used for communication with OJP APIs.

See Reference and examples for usage.

Resources

Install

Two versions of the OJP APIs can be used:

  • OJP 1.0 - still supported by ojp-js SDK but might receive less support in the future
  • OJP 2.0 - next version, see VDVde/OJP specs

OJP 1.0

The main branch of ojp-js repo is using OJP 1.0 APIs. The releases are published to npmjs.com as ojp-sdk packages.

  • include the ojp-sdk package in the ./package.json dependencies of your project
  "dependencies": {
    "ojp-sdk": "0.16.2"
  }

OJP 2.0

The ojp-v2 branch is used for developing OJP 2.0 bindings,

  • include the #ojp-v2 branch
  "dependencies": {
    "ojp-sdk": "git+https://github.com/openTdataCH/ojp-js.git#feature/ojp-v2"
  }

Usage

  • update project dependencies
$ npm install
  • include OJP SDK in the Typescript / Javascript code
import * as OJP from 'ojp-sdk'

License

The project is released under a MIT license.

Copyright (c) 2021 - 2024 Open Data Platform Mobility Switzerland - opentransportdata.swiss.

0.13.1

8 months ago

0.13.2

8 months ago

0.15.1

7 months ago

0.15.2

6 months ago

0.14.1

7 months ago

0.16.1

5 months ago

0.16.2

4 months ago

0.12.7

8 months ago

0.12.6

8 months ago

0.9.36

11 months ago

0.10.1

11 months ago

0.11.1

11 months ago

0.10.2

11 months ago

0.12.1

10 months ago

0.12.2

10 months ago

0.12.3

10 months ago

0.12.4

10 months ago

0.12.5

9 months ago

0.9.34

1 year ago

0.9.35

1 year ago

0.9.33

1 year ago

0.9.32

1 year ago

0.9.31

1 year ago

0.9.30

1 year ago

0.9.29

1 year ago

0.9.26

1 year ago

0.9.27

1 year ago

0.9.28

1 year ago

0.9.25

1 year ago

0.9.24

1 year ago

0.9.23

2 years ago

0.9.21

2 years ago

0.9.22

2 years ago

0.9.20

2 years ago

0.9.18

2 years ago

0.9.19

2 years ago

0.9.17

2 years ago

0.9.13

2 years ago

0.9.14

2 years ago

0.9.15

2 years ago

0.9.16

2 years ago

0.9.12

2 years ago

0.9.8

2 years ago

0.9.7

2 years ago

0.9.9

2 years ago

0.9.4

2 years ago

0.9.3

2 years ago

0.9.10

2 years ago

0.9.6

2 years ago

0.9.11

2 years ago

0.9.5

2 years ago

0.9.2

3 years ago

0.9.1

3 years ago

0.9.0

3 years ago