### Yandex Rasp API Overview Source: https://yandex.ru/dev/rasp/doc/ru/index Overview of the Yandex Rasp API, its principles, and usage guidelines. ```APIDOC ## Yandex Rasp API Overview ### Description The Yandex Rasp API provides programmatic access to data on transport routes and schedules. It is organized in accordance with REST principles and interactions are carried out via HTTPS GET requests. The service returns data in JSON and XML formats. This guide is intended for web developers who wish to use Yandex Rasp information on their websites. ### Method GET ### Endpoint /api/v1/public/schedule ### Parameters #### Query Parameters - **from** (string) - Required - The starting point of the route. - **to** (string) - Required - The destination of the route. - **date** (string) - Optional - The date for which to retrieve the schedule (YYYY-MM-DD). - **transport_type** (string) - Optional - The type of transport (e.g., 'train', 'bus', 'plane'). ### Response #### Success Response (200) - **schedule** (array) - An array of schedule entries. - **departure_time** (string) - The departure time. - **arrival_time** (string) - The arrival time. - **route_number** (string) - The route number. - **transport_type** (string) - The type of transport. #### Response Example ```json { "schedule": [ { "departure_time": "08:00", "arrival_time": "10:30", "route_number": "101", "transport_type": "train" }, { "departure_time": "09:15", "arrival_time": "11:45", "route_number": "B205", "transport_type": "bus" } ] } ``` ``` -------------------------------- ### Copyright Information Source: https://yandex.ru/dev/rasp/doc/ru/index Retrieves copyright information for Yandex Rasp, a mandatory requirement for using the API. ```APIDOC ## GET /api/v1/public/copyright ### Description This endpoint retrieves the copyright information for Yandex Rasp. It is mandatory to display this information on your website when using the Yandex Rasp API. ### Method GET ### Endpoint /api/v1/public/copyright ### Response #### Success Response (200) - **copyright_text** (string) - The copyright text provided by Yandex Rasp. #### Response Example ```json { "copyright_text": "Information provided by Yandex Rasp" } ``` ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.