ImTaktTypeScript
Build with German public transport data.
The typed client wraps api.imtakt.dev with the same five verbs as the CLI and plugin: find, plan, show, status, follow.
import { createImTakt } from "@imtakt/sdk";
const imtakt = createImTakt();
const from = await imtakt.find("Berlin Hbf");
const to = await imtakt.find("München Hbf");
const result = await imtakt.plan({
fromId: from.best.stopId,
toId: to.best.stopId,
view: "board",
limit: 10,
});SDK docs