title: How do I use Google Places to get an array of Place names?
body: <p>I'm trying to access Google Places to return an array of 50 restaurant names around a latitude and longitude, but I've hit a brick wall when it comes to making the request. I've got the code to determine the user's latitude and longitude and I've gotten my API key from Google, I just cannot figure out how to make the request via the URL and the Google documentation is silent on how to <em>actually</em> get the data. I feel confident that I'll be able to figure out how to parse the JSON return, but getting the data has proven more difficult/confusing than I imagined.</p>
  
  <p>If it matters, I'm using MaxMind to get the user's latitude and longitude. Here is the script that I have so far:</p>
  
  <pre><code>&lt;script type="text/javascript" src="https://www.google.com/jsapi?key=api_key"&gt;&lt;/script&gt;
  &lt;script type="text/javascript" src="http://j.maxmind.com/app/geoip.js"&gt;&lt;/script&gt;
  
  &lt;script type="text/javascript"&gt;
      latitude = geoip_latitude();
      longitude = geoip_longitude();
  &lt;/script&gt;
  </code></pre>