Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Google Maps API - computeRoutes

1

so, there are two end points from google I would really like to know the difference between them 1.https://routespreferred.googleapis.com/v1:computeRoutes and 2.https://routes.googleapis.com/directions/v2:computeRoutes the two API looks pretty much the same can anyone please help me to know what is the difference and if the v1:computeRoutes one is obsolete

So currently I want to confirm if I am using the right API. if anyone has used v1:computeRoutes, please help to know the correct request and response.

0 1 822
1 REPLY 1

Hello avinashsh_96,

If you are using v1:computeRoutes, there is a requirement for Authorization Scopes which is Routes Preferred API. However it is for selected customers, and you may contact our Sales for more details. Here is a documentation for v2:computeRoutes for youre reference. For v2:computeRoutes, it is using Routes API which is under the Pre-GA products and features.