Questo prodotto o questa funzionalità è in stato Legacy. Per ulteriori informazioni sulla fase Legacy e su come eseguire la migrazione dai servizi Legacy a quelli più recenti, consulta Funzionalità e prodotti legacy.
Prova! Testa questa richiesta inserendo l'URL nel browser web. Assicurati
di sostituire YOUR_API_KEY con la tua chiave API effettiva.
La risposta mostra la distanza e la durata tra le origini
e le destinazioni specificate.
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Mancano le informazioni di cui ho bisogno","missingTheInformationINeed","thumb-down"],["Troppo complicato/troppi passaggi","tooComplicatedTooManySteps","thumb-down"],["Obsoleti","outOfDate","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Problema relativo a esempi/codice","samplesCodeIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 2025-09-25 UTC."],[],["The content demonstrates requesting distance data between Washington, DC, and New York City using the Google Maps Distance Matrix API. The request URL and cURL command are provided, requiring the user to replace `YOUR_API_KEY` with their own. The API returns distance (228 mi) and duration (3 hours 55 mins) data in both JSON and XML formats. Users can test the URL and further understand responses, and can learn to build custom URL requests through provided documentation.\n"]]