Unable to get special opening hours from Google Places API - google-maps

Special hours are marketed/documented on Google My Business, see https://support.google.com/business/answer/6303076
Is there a way of retrieve this special opening hours from the Google Places API?
I've tried adding special hours to Google My Business. It works as expected in Google Maps and Google search. However, it does not show in the returned values from Google Places API.

Currently, special hours are not available via Places API.
There is a feature request 10145 in the public issue tracker to add this information in the API.
Please star the public issue to vote for this feature and receive further updates.

For people looking for an answer to this, there is a solution and that is to use Google My Business API. There you can get special hours.
Google My Business API you have to apply to use. Read more at Google My Business API

Related

Get restaurant match percentage from Google Maps API

When using Google maps personally I see that it gives me a "match" percentage when I search nearby restaurants. Is there a way to access this information through the API after a user authorizes with their Google account OAuth sign-in?
I have dug around in the [https://developers.google.com/places/web-service/intro](Google Places API docs) but unable to find anything on restaurant match suggestions. Has anyone had experience using or seeing this in a response?
Thank you for any help in advance, I'm new to using Google APIs.
It is not possible to get this information through the Maps APIs at this time.
However, you can file a Feature Request for this in Google's Public Issue Tracker: https://issuetracker.google.com
The Places API component can be found here
Hope this helps!

How can I access events data for a place in google maps?

I wanted to use Google Places API to get nearby places (music venues, pubs, theaters, etc.) in given city, then look for events in these places. And if you look at some places on google maps, you can see that there is a section 'Upcoming Events', so I'm sure the data is here. The problem is, Place Details endpoint does not provide with such information, although upon some research I found some information that told me otherwise, namely this, however I am aware that this information is pretty old at best. My question is - is this feature of API still available, or was it removed, or what?
Currently what I'm doing is first sending the request like this:
https://maps.googleapis.com/maps/api/place/nearbysearch/json?key={api_key}&location={city}&radius={some_radius}
to get all the places available, then for each place_id in response:
https://maps.googleapis.com/maps/api/place/details/json?key={key}&placeid={place_id}
The fields in these responses are not including any info about events, even if the place have the section 'Upcoming Events' on google maps.
There is a feature request for Events API in the Google issue tracker:
https://issuetracker.google.com/issues/137032001
I would suggest staring the feature request to add your vote and subscribe to further notifications from Google. Hopefully one day they implement this API and expose events via APIs.

Google geocode API doesn't recognise some zipcodes

I am using google geocode+geolocation APIs for finding places and calculating distances between them.
There are some zip codes which actually exist when we search them on Google but google APIs are unable to locate them.
Here is one in the link: 01703
Response is
{
"results" : [],
"status" : "ZERO_RESULTS"
}
How can I overcome this issue (with Google API) or is there a way to contact google support directly? Or if there is any other service which has better results?
Please help me to solve this. Waiting for response. Thanks
The Google maps api reads directly from Google maps itself. If there is data missing then it can be added Report an error on the map
If it is on the map and just not in the API then they may be in the process of approving the change.
Beyond that you could report it as a bug issue tracker or try to contact the support team
Normally there isnt much you can do if there is no data in the api for your request there is no data. For the most part Google services are free "you get what you pay for".
I am a developer at SmartyStreets, and have worked a lot with our US ZIP Code API. I ran the ZIP Code 01703 through it, and got back the geocodes no problem. You can try it out for free if you're interested.

Different Images on Google Maps API StaticMap Than on Google Maps

I am getting different building shadows when calling https://maps.googleapis.com/maps/api/staticmap?center=40.1150139,-88.2273797&zoom=17&size=600x400&maptype=satellite
vs what I get from visiting
https://www.google.com/maps/#40.1150139,-88.2273797,319m/data=!3m1!1e3
I assume these are taken at different times of the day. How can I get the same image I am getting from Google Maps by calling the API?
There is no way to get satellite imagery for different timestamps via Google Maps Static Maps API at the moment.
The Google issue tracker contains a feature request to make it possible. You can have a look at the feature request:
https://issuetracker.google.com/issues/35826354
Feel free to star it to add your vote and subscribe to notifications.

Google Place API & TOS for using on iOS6

Can you still use Google Places API to fetch places data for iOS Apps, now that Apple has removed Google Maps?
The Places API TOS clearly states that the data has to be displayed on Google Maps. This cannot be done on iOS6, unless you take the user out of the App into a browser based Map. The UX is going to suck.
Any responses from Google Places API team?
Thanks
AP
I've got the same question and unfortunately, from what I understand of the TOS you won't be able to use the geocoding API as results need to be returned on a google map
the places API results CAN be used if you do not return results on a map and credit data source with google logos
https://developers.google.com/places/policies
again, that's my interpretation so hopefully someone will chip in and clarify
Apple's switch to their own maps is turning out to be a real pain in the arse