/** * 🚋 Public Transport | Golemio API *

\"Logos\"

Toto je část dokumentace REST API projektu pražské datové platformy Golemio, která obsahuje popis Public Transport Output Gateway API.

Veškeré dotazy prosím směřujte na golemio@operatorict.cz.

Dokumentace je v anglickém jazyce. Více informací o projektu naleznete na www.golemio.cz.

Description

This documentation covers the RESTful API of the Golemio Prague Data Platform project, specifically detailing the Public Transport Output Gateway API.

Support is accessible via golemio@operatorict.cz.

For more information about Golemio, please visit the website www.golemio.cz.

Golemio API documentation:

  • Main Golemio API
  • Open Data Golemio API
  • Golemio Input Gateway API
  • 👉 Public Transport Golemio API
  • Public Transport Golemio Input Gateway API
  • General info

    Authorization

    Generate your token at api.golemio.cz/api-keys.

    Use the token as the value of the X-Access-Token header.

    Usage

    Pagination

    The API returns a maximum of 10,000 objects/rows per request. You can specify a lower number by adding the ?limit URL parameter.

    This limit may vary depending on the specific route; please refer to the description of parameters for each route. To retrieve more data, use multiple requests with the ?limit&offset parameters. Refer to the examples below.

    Requests rate

    By default, each API key has a rate limit of 20 requests per 8 seconds.

    Compression

    By default, the Content-Encoding header is set to gzip (if requested). If the raw response is less than 1 KB, the data is returned uncompressed, and the Content-Encoding header is not set.

    General Transit Feed Specification

    Access GTFS (General Transit Feed Specification) data on the city\'s public transportation schedules through this API.

    The data is published by ROPID and remains valid for the upcoming ~12 days, subject to daily updates.

    Learn more at pid.cz.

    Open Data

    \"golemioapi-opendata-badge\"

    This badge means it is available for public use as Open Data.

    * * The version of the OpenAPI document: 1.0.0 * Contact: golemio@operatorict.cz * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import type { ConfigurationParameters } from "./configuration"; import type { RequestArgs } from "./base"; import type { AxiosInstance, AxiosResponse } from 'axios'; /** * * @export */ export declare const DUMMY_BASE_URL = "https://example.com"; /** * * @throws {RequiredError} * @export */ export declare const assertParamExists: (functionName: string, paramName: string, paramValue: unknown) => void; /** * * @export */ export declare const setApiKeyToObject: (object: any, keyParamName: string, configuration?: ConfigurationParameters) => Promise; /** * * @export */ export declare const setBasicAuthToObject: (object: any, configuration?: ConfigurationParameters) => void; /** * * @export */ export declare const setBearerAuthToObject: (object: any, configuration?: ConfigurationParameters) => Promise; /** * * @export */ export declare const setOAuthToObject: (object: any, name: string, scopes: string[], configuration?: ConfigurationParameters) => Promise; /** * * @export */ export declare const setSearchParams: (url: URL, ...objects: any[]) => void; /** * * @export */ export declare const serializeDataIfNeeded: (value: any, requestOptions: any, configuration?: ConfigurationParameters) => any; /** * * @export */ export declare const toPathString: (url: URL) => string; /** * * @export */ export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: ConfigurationParameters) => >(axios?: AxiosInstance, basePath?: string) => Promise;