Method | Description | |
---|---|---|
get ( string $id ) : |
Get information about a location. | |
getRecentMedia ( string $id, string | null $minId = null, string | null $maxId = null ) : |
Get a list of recent media objects from a given location. | |
search ( integer $latitude, integer $longitude, integer $distance = 1000 ) : |
Search for a location by geographic coordinate. | |
searchByFacebookPlacesId ( integer $facebookPlacesId ) : |
Search for a location by Facebook Places ID. | |
searchByFoursquareId ( string $foursquareId ) : |
Search for a location by Foursquare location ID. |
public search ( integer $latitude, integer $longitude, integer $distance = 1000 ) : |
||
$latitude | integer | Latitude of the center search coordinate. If used, ``$longitude`` is required |
$longitude | integer | Longitude of the center search coordinate. If used, ``$latitude`` is required |
$distance | integer | The distance in metres. Default is ``1000``m, max distance is 5km |
return |
public searchByFacebookPlacesId ( integer $facebookPlacesId ) : |
||
$facebookPlacesId | integer | A Facebook Places ID |
return |
public searchByFoursquareId ( string $foursquareId ) : |
||
$foursquareId | string | A Foursquare V2 API location ID |
return |