Google Places API Autocomplete Proof of Concept Primer Tutorial

Google Places API Autocomplete Proof of Concept Primer Tutorial

Google Places API Autocomplete Proof of Concept Primer Tutorial

Huge “where of life” concept ahead!

Yes, we are trialling the great Google Places API, specifically a proof of concept use of autocomplete logic checking keyboard entered places letter by letter. Cute, huh? As you can imagine, “incumbency” is big here. You need a massive database that is constantly building (and thus being refined and expanded) in order to be able to offer this service. Yes, service, and to use the service you need to apply for a Google Places API Key to use this service. Some traffic is free to you each month should you go ahead and apply for an API Key.

So what is interesting about the “proof of concept” google_places_poc.php PHP code live run?

  • we use PHP but you could use HTML … it just seemed good to do this because …
  • the “middleperson” is HTML code taken word for word from that autocomplete webpage … and we just call on that HTML in …
  • PHP asks for a Google Places API Key (with no restrictions) off the user (in an HTML input type=password field … that has “remember me” capabilities) … and adds into the mix that …
  • resultant webpage consists of the aforementioned HTML with a hardcoding substituted by the entered Google Places API Key

… so, there you go. Not for everyone, but maybe all this has encouraged you to sign up?! Who knows?

If this was interesting you may be interested in this too.

This entry was posted in eLearning, Tutorials and tagged , , , , , , , , , , , , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>