UNPKG

@relive/graphhopper-api-client

Version:

Open source Javascript / Typescript client to the Graphhopper API, generated with OpenAPI

28 lines (27 loc) 959 B
/** * Get SPT info to be used as basis for Isochrone visualization. * This endpoint isn't in the OpenAPI spec yet, and thus not in our generated client */ export declare function getSPT(params: any, basePath: string): Promise<import("axios").AxiosResponse<any, any>>; export declare type GraphHopperInfo = { bbox: [number, number, number, number]; profiles: Array<{ profile_name: string; vehicle: string; }>; supported_vehicles: string[]; version: string; elevation: boolean; encoded_values: { [encoded_value: string]: string[]; }; import_date: string; data_date: string; prepare_ch_date: string; prepare_date: string; }; /** * Get info about the GraphHopper instance * This endpoint isn't in the OpenAPI spec yet, and thus not in our generated client */ export declare function getInfo(params: any, basePath: string): Promise<import("axios").AxiosResponse<GraphHopperInfo, any>>;