Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Uzyskaj tablicę tras dojazdu, która wykorzystuje opcje transportu publicznego dostępne w danym regionie. Opcje transportu mogą obejmować autobusy, metro i pociągi.
W tym przykładzie obliczana jest tablica tras dla przejazdu tranzytowego, w której oprócz masek pól typowych dla tablicy trasy wymagana jest stawka za przejazd tranzytowy:
[[["Łatwo zrozumieć","easyToUnderstand","thumb-up"],["Rozwiązało to mój problem","solvedMyProblem","thumb-up"],["Inne","otherUp","thumb-up"]],[["Brak potrzebnych mi informacji","missingTheInformationINeed","thumb-down"],["Zbyt skomplikowane / zbyt wiele czynności do wykonania","tooComplicatedTooManySteps","thumb-down"],["Nieaktualne treści","outOfDate","thumb-down"],["Problem z tłumaczeniem","translationIssue","thumb-down"],["Problem z przykładami/kodem","samplesCodeIssue","thumb-down"],["Inne","otherDown","thumb-down"]],["Ostatnia aktualizacja: 2025-02-06 UTC."],[[["Obtain a matrix of routes using available public transportation like buses, subways, and trains for a specified region."],["The API allows you to calculate travel distances, durations, and even transit fares between multiple origins and destinations using public transit."],["Example code demonstrates how to make a request to the API using curl, specifying origins, destinations, and desired fields like transit fare."],["The response provides a matrix with details for each origin-destination pair, including distance, duration, fare (if applicable), and route existence status."]]],["This content demonstrates how to obtain a transit route matrix using public transportation like buses, subways, and trains. The process involves sending a POST request to the `computeRouteMatrix` endpoint with origin and destination waypoints, specifying `TRANSIT` as the `travelMode`. The request can include a transit fare request. The response provides details such as distance, duration, status, and transit fare information between specified origin and destination pairs.\n"]]