mirror of
https://github.com/public-transport/db-vendo-client.git
synced 2025-11-10 21:10:19 +02:00
Compare commits
No commits in common. "785f5fcc372cecf0de1d0c66dc5c722593676439" and "d0120439e645bb3e9e5396eb783085a5d6bd7e72" have entirely different histories.
785f5fcc37
...
d0120439e6
4 changed files with 6 additions and 8 deletions
|
|
@ -4,7 +4,6 @@ import {products} from '../../lib/products.js';
|
||||||
// journeys()
|
// journeys()
|
||||||
import {formatJourneysReq} from '../dbnav/journeys-req.js';
|
import {formatJourneysReq} from '../dbnav/journeys-req.js';
|
||||||
const {journeysEndpoint} = base;
|
const {journeysEndpoint} = base;
|
||||||
const {bestpriceEndpoint} = base;
|
|
||||||
|
|
||||||
// refreshJourneys()
|
// refreshJourneys()
|
||||||
import {formatRefreshJourneyReq} from '../dbnav/journeys-req.js';
|
import {formatRefreshJourneyReq} from '../dbnav/journeys-req.js';
|
||||||
|
|
@ -40,7 +39,6 @@ const profile = {
|
||||||
|
|
||||||
formatJourneysReq,
|
formatJourneysReq,
|
||||||
journeysEndpoint,
|
journeysEndpoint,
|
||||||
bestpriceEndpoint,
|
|
||||||
|
|
||||||
formatRefreshJourneyReq,
|
formatRefreshJourneyReq,
|
||||||
refreshJourneysEndpointTickets, refreshJourneysEndpointPolyline,
|
refreshJourneysEndpointTickets, refreshJourneysEndpointPolyline,
|
||||||
|
|
|
||||||
4
package-lock.json
generated
4
package-lock.json
generated
|
|
@ -1,12 +1,12 @@
|
||||||
{
|
{
|
||||||
"name": "db-vendo-client",
|
"name": "db-vendo-client",
|
||||||
"version": "6.10.5",
|
"version": "6.10.4",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "db-vendo-client",
|
"name": "db-vendo-client",
|
||||||
"version": "6.10.5",
|
"version": "6.10.4",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"content-type": "^1.0.5",
|
"content-type": "^1.0.5",
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "db-vendo-client",
|
"name": "db-vendo-client",
|
||||||
"description": "Client for bahn.de public transport APIs.",
|
"description": "Client for bahn.de public transport APIs.",
|
||||||
"version": "6.10.5",
|
"version": "6.10.4",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"files": [
|
"files": [
|
||||||
|
|
@ -95,7 +95,7 @@
|
||||||
"test-e2e": "VCR_OFF=true tap -t60 -j16 test/e2e/*.js",
|
"test-e2e": "VCR_OFF=true tap -t60 -j16 test/e2e/*.js",
|
||||||
"test-spelling": "cspell .",
|
"test-spelling": "cspell .",
|
||||||
"test": "npm run test-unit && npm run test-integration && npm run test-spelling",
|
"test": "npm run test-unit && npm run test-integration && npm run test-spelling",
|
||||||
"prepublishOnly": "npm run lint && npm test",
|
"prepublishOnly": "npm run lint",
|
||||||
"api": "node api.js"
|
"api": "node api.js"
|
||||||
},
|
},
|
||||||
"tap": {
|
"tap": {
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ Depending on the configured profile, db-vendo-client will use multiple different
|
||||||
|
|
||||||
| Profile | `db` | `dbnav` | `dbweb` | `dbris` |
|
| Profile | `db` | `dbnav` | `dbweb` | `dbris` |
|
||||||
| ------------- | ------------- | ------------- | ------------- | ------------- |
|
| ------------- | ------------- | ------------- | ------------- | ------------- |
|
||||||
| no API key required | ✅ | ✅ | ✅ | ❌ |
|
| no API key required | ✅ | ✅ | ✅ | ✅ | ❌ |
|
||||||
| all above endpoints supported | ✅ | ✅ | except `stop()` | only boards |
|
| all above endpoints supported | ✅ | ✅ | except `stop()` | only boards |
|
||||||
| duration for boards | always 1h | always 1h | always 1h | up to 12h |
|
| duration for boards | always 1h | always 1h | always 1h | up to 12h |
|
||||||
| remarks | for boards only most important remarks | for boards only most important remarks | all remarks on boards and journeys | all remarks |
|
| remarks | for boards only most important remarks | for boards only most important remarks | all remarks on boards and journeys | all remarks |
|
||||||
|
|
@ -37,7 +37,7 @@ Depending on the configured profile, db-vendo-client will use multiple different
|
||||||
| adminCode/operator | only for journeys | only for journeys | only operator | ✅ |
|
| adminCode/operator | only for journeys | only for journeys | only operator | ✅ |
|
||||||
| stopovers | not in boards | not in boards | ✅ | ✅ |
|
| stopovers | not in boards | not in boards | ✅ | ✅ |
|
||||||
| assumed backend API stability | less stable | more stable | less stable | more stable |
|
| assumed backend API stability | less stable | more stable | less stable | more stable |
|
||||||
| quotas | 60 requests per minute (IPv4), current backend possibly shut off soon | 60 requests per minute (IPv4), possibly aggressive blocking | aggressive blocking (IPv4/IPv6) | depends on API key |
|
| quotas | 60 requests per minute (IPv4) | 60 requests per minute (IPv4), possibly aggressive blocking | aggressive blocking (IPv4/IPv6) | depends on API key |
|
||||||
|
|
||||||
|
|
||||||
> [!IMPORTANT]
|
> [!IMPORTANT]
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue