@motis-project/motis-client 2.0.0 → 2.0.83
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/dist/chunk-CAW6R2LI.js +1149 -0
- package/dist/chunk-IYBFZNEH.js +996 -865
- package/dist/chunk-QM2K42W7.js +62 -62
- package/dist/chunk-VOTN5CAZ.js +91 -0
- package/dist/index.d.ts +3 -3
- package/dist/index.js +6 -6
- package/dist/schemas.gen.d.ts +61 -13
- package/dist/schemas.gen.js +3 -3
- package/dist/services.gen.d.ts +4 -4
- package/dist/services.gen.js +3 -3
- package/dist/types.gen.d.ts +124 -20
- package/package.json +2 -3
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# motis-client
|
|
2
2
|
|
|
3
|
-
Pre-generated JS client for (
|
|
3
|
+
Pre-generated JS client for [MOTIS](https://github.com/motis-project/motis) based on the [OpenAPI definition](https://redocly.github.io/redoc/?url=https://raw.githubusercontent.com/motis-project/motis/refs/heads/master/openapi.yaml#tag/routing/operation/plan).
|
|
4
4
|
|
|
5
5
|
For example:
|
|
6
6
|
|
|
@@ -10,10 +10,10 @@ const response = await stoptimes({
|
|
|
10
10
|
baseUrl: 'https://api.transitous.org',
|
|
11
11
|
userAgent: 'my-user-agent',
|
|
12
12
|
query: {
|
|
13
|
-
stopId: 'de-DELFI_de:06412:7010:1:3',
|
|
13
|
+
stopId: 'de-DELFI_de:06412:7010:1:3',
|
|
14
14
|
n: 10,
|
|
15
15
|
radius: 500
|
|
16
16
|
},
|
|
17
17
|
});
|
|
18
18
|
console.log(response);
|
|
19
|
-
```
|
|
19
|
+
```
|