Google Places API
<p>I'm writing a php script to find places using google places api
Now I'm finding stuff and getting the results, other than public transport options.
the 'bus_station, subway_station' etc options in types don't bring any results.</p>

<p>Anyone know the solution?</p>

<pre><code>&lt;?php

if(!$xml=simplexml_load_file('https://maps.googleapis.com/maps/api/place/search/xml?    location=51.500152,-0.126236&amp;radius=50&amp;types=bus_station&amp;sensor=false&amp;key=APIKEY')){
    trigger_error('Error reading XML file',E_USER_ERROR);
}
echo 'Displaying contents of XML file...&lt;br /&gt;';
foreach($xml as $place){
    echo 'Name: '.$place-&gt;name.' &lt;br&gt;Locality: '.$place-&gt;vicinity.'&lt;br&gt;
Type: '.$place-&gt;type.' &lt;br&gt;lat: '.$place-&gt;geometry-&gt;location-&gt;lat.' long: '.$place-&gt;geometry-&gt;location-&gt;lng.'&lt;br /&gt;&lt;br&gt;';
}
?&gt;
</code></pre>

<p>Cheers
David</p>
