mirror of
https://github.com/public-transport/db-vendo-client.git
synced 2025-06-19 10:42:33 +03:00
7 lines
246 B
JavaScript
7 lines
246 B
JavaScript
import {createClient} from './index.js';
|
|
import {profile} from './p/dbnav/index.js';
|
|
|
|
const client = createClient(profile, 'hafas-client-debug');
|
|
|
|
const journeys = await client.journeys('8000105', '8000261', {results: 1});
|
|
console.log(journeys);
|