Bus Stop Schedule - google-maps

I'm having some trouble retrieving some information about the bus stop schedule of a single bus stop.
Basically, when I open the bus stop on google maps, I can see all bus lines for that stop and it's respective schedule time.
After clicking on see departure board:
However, I couldn't find a way of getting this information from the google maps api.
I tried searches by place_id and geographic coordinates and I was able to find some information about this stop, but not lines or schedule times..
I saw some people being able to find some information like this by setting a route on the directions API, but in my case I need the complete schedule of the bus stop itself, and not the info between two locations.

I'm afraid Google doesn't expose this sort of information via their Google Maps APIs at the moment. There is a feature request in the Google issue tracker to make this information available (33 stars currently, however doesn't look like priority at Google as FR was opened in 2015):
https://issuetracker.google.com/issues/35827961
Feel free to star the feature request to add your vote and subscribe to further notifications from Google.

Related

Google Maps API - Number of customers for places

I'm reading the documentation of GM-APIs, I found the section relative to "Places", but I can't find anything to get the information about the per-hour number of customers for a certain place.
Do you know whenever you search a place on GMaps, there is an indication of the frequency of customers, in that way you can know if the place will be busy or empty.
Is there any way to retrieve that information through Google Maps API?
Currently, there is no available feature in Google Maps API that could get the exact number or the of people in an establishment to determine its busiest time of the day.
However, there is an existing Feature Request in Google Map Platform's Public issue tracker to expose the place's popular times which seems to be related to the feature you are looking for.
Here's the link to that feature request: https://issuetracker.google.com/35827350. You can star/favorite this feature request and feel free to leave a comment there regarding your use case for additional information as well.

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.

Understanding Requests from Google Places API for Web w Place Autocomplete

We are considering using Google Places API for a new web application project and I believe we are vastly underestimating the number of requests we would use.
We would be using place search, Maps JavaScript API map load to grab Place IDs from Google as well as Place Autocomplete to help users find the defined location. So my questions are:
Would the Autocomplete be considered a request on every keystroke?
Would if also be a request when we select the suggestion (Places API)
and update to Map?
I have seen that with the premium Plan autocompletes use 0.1 Maps API Credit, while JavaScript API map load is 1 and Places API is 2 credits. Trying to understand how to count before the 150k limit and after
As mentioned in the comment of your question, Google is making some drastic changes to their collective maps API usage rates. Starting June 11th, the new pricing will go into effect.
Would the Autocomplete be considered a request on every keystroke?
As of now, places autocomplete is counted on every keystroke. Starting June 11th, you have the option to switch to session-based billing. They have different pricing rates which can be see in the pricing sheet link. Depending on your application, you'll want to use the option that minimizes API calls. I think if your use case is one time selecting of location by your users then you're better off with billing by keystroke.
Would if also be a request when we select the suggestion (Places API)
and update to Map?
Selecting a suggestion from Places API would not incur an API request (requesting the suggestions does), but updating a google map using the Map API would use an API request.
The 150k daily limit is going away in favor of the new billing rates, so I would suggest you look into that now. There are some free unlimited services still offered, like the Google Maps Embed API. Loading a map using the Embed API is not counted towards any billing (as of now).

Places added newly through google places api but the places added to app not to google db

I have added new basketball court to the Google Database 2 days ago but it's not added while I searched for that particular court in google maps . I don't know how to track the status of the court whether it passes the moderation process . I explored it in google places add api but it gives that only the scope of the app in the response .
Also the newly added places is not reflected directly in nearby (app-scope)api. I have got this app-specific court when I pass type params to the api . Then I need to concatenate these two results to get reflected to the application. Am I right?
Please guide me in optimal path to be listed in my application as well as Google's database.
Also Please help me to find my query below.
How can I track the status of newly added places in google .
Please Help me
Thanks in advance.
From the Place Add documentation itself, it is stated that:
When you add a place, the new place is available immediately in Nearby
Searches initiated by your application. The new place also enters a
moderation queue to be considered for Google Maps. A newly-added place
does not appear in Text Search or Radar Search results, or to other
applications, until it has been approved by the moderation process.
So it means that you can see the places that you add. Just take note that you are the only one that can see this as of the time you created/add. in order for the others to view it or make visible, it needs to pass a moderation process. If your add places did not show up after a week or more, then maybe it did not pass the process.
Just read the above link to know more about it.
UPDATE
Unfortunately, Place Add has been deprecated on June 30, 2017 and will stop working on June 30, 2018. So you cannot use this method anymore. For further details please refer to the corresponding geo blog post.

Google places maps Api web service post new place

I just posted 2 places with the Add Place API.
I used this model and got a success status confirmation by the webservice and then for each I got an id, and place_id, reference, scope and status
But the problem is I cannot see my new places on the google maps interface. where can I find my places to check if everything is right?
if you take a look at the documentation:
When you add a place, the new place is available immediately in Nearby Searches initiated by your application. The new place also enters a moderation queue to be considered for Google Maps. A newly-added place does not appear in Text Search or Radar Search results, or to other applications, until it has been approved by the moderation process.
Which means everyone can add their own places for the own use. But in order to have your place visible to other apps or the Google Maps, it needs to pass the moderation process. If your places did not show up after a week or so, then probably it didn't make it through.