New tutorial available
It appears that the original tutorial by Brian is now 404, so here is a link to the Google one in case people see this answer first.
https://developers.google.com/places/android-api/current-place-tutorial
When this article was first written this tutorial didn't exist.
Original:
You could try this tutorial (now 404): http://blog.brianbuikema.com/2010/08/android-development-part-1-using-googles-places-api-to-develop-compelling-location-based-mobile-applications/
Answer from Gary on Stack OverflowUsing Google Places API in Android - Stack Overflow
Has anyone ever used google places API?
How can I try Google Places API from my browser? - Stack Overflow
Google Maps & Places API pricing. Not to beat a dead horse but..
Videos
New tutorial available
It appears that the original tutorial by Brian is now 404, so here is a link to the Google one in case people see this answer first.
https://developers.google.com/places/android-api/current-place-tutorial
When this article was first written this tutorial didn't exist.
Original:
You could try this tutorial (now 404): http://blog.brianbuikema.com/2010/08/android-development-part-1-using-googles-places-api-to-develop-compelling-location-based-mobile-applications/
You can find a tutorial on the Places API in a J2SE environment, using the Google APIs Client Library for Java on my blog. It also includes a sample application in Github that might get you started.
If should be fairly easy to port to Android, as the Google APIs Client Library for Java is Android compatible.
I wrote a quick python script to collect certain data from google places api. And it cost $0.17 per request. Now everytime I call google api, it always starts from the beginning of the list. I have to request the place ID and check it against my json file to see if I already have that information then skip to the next one until I reach where I last got off. Isn’t there a more efficient way or is that just google. Should I just say screw it and scrap google maps?
It looks like there is no convenient UI for just querying it from the web. Instead, just consult the Places API documentation, and paste a query of the following style, for example, into your browser address bar.
https://maps.googleapis.com/maps/api/place/findplacefromtext/json?key=YOUR_API_KEY&inputtype=textquery&input=Starbucks
Use a server key for the web service, as stated in the documentation:
Get a key for Google Places API Web Service
- Go to the Google Developers Console.
- Create or select a project.
- Click Continue to Enable the API.
- Go to Credentials to get a Server key (and set the API credentials).
- To prevent quota theft, secure your API key following these best practices.
I know this has been brought up here so forgive me, but I can't for the life of me think of a use case / business model where this actually works? Im using 75 out of the free 200 just in the testing and development of the app; even if the app only has 100 users its already unafordable LMAO. I fully understand charging a premium when you have the best product, I really do. But there is a difference between charging a premium and making it literally impossible to make any app that uses your data. Do they actually have customers that are less than 1T market cap?
anyway, are any of the alternatives to places api closing the gap? seems like there are not great alternatives. DOJ break up Google Maps!