I am using google maps API to get all the place information like phone number , opening hours .. when I test with the placeid in the developers site I get all the details but when I send send my placeid I get just the address_components details.
developers : https://maps.googleapis.com/maps/api/place/details/json?placeid=ChIJN1t_tDeuEmsRUsoyG83frY4&key=AIzaSyBz2O-udgMv8PnaY-2tW118Uz1182ApEiw
My link: https://maps.googleapis.com/maps/api/place/details/json?placeid=ChIJ2xEZitrOUUYR0a9wjkKF9_g&key=AIzaSyBz2O-udgMv8PnaY-2tW118Uz1182ApEiw
The place ID ChIJ2xEZitrOUUYR0a9wjkKF9_g from second request returns result of type route. Places API can return addresses as well, not only businesses.
You can easily check it with Geocoding API request:
https://maps.googleapis.com/maps/api/geocode/json?place_id=ChIJ2xEZitrOUUYR0a9wjkKF9_g&key=YOUR_API_KEY
or open it in Geocoder tool:
https://developers-dot-devsite-v2-prod.appspot.com/maps/documentation/utils/geocoder/#place_id%3DChIJ2xEZitrOUUYR0a9wjkKF9_g
The route is not a business, so it doesn't have phone, open hours, etc.
1.4m articles
1.4m replys
5 comments
57.0k users