PHP Class Larabros\Elogram\Repositories\LocationsRepository

Inheritance: extends AbstractRepository
Afficher le fichier Open project: larabros/elogram

Méthodes publiques

Méthode Description
get ( string $id ) : Response Get information about a location.
getRecentMedia ( string $id, string | null $minId = null, string | null $maxId = null ) : Response Get a list of recent media objects from a given location.
search ( integer $latitude, integer $longitude, integer $distance = 1000 ) : Response Search for a location by geographic coordinate.
searchByFacebookPlacesId ( integer $facebookPlacesId ) : Response Search for a location by Facebook Places ID.
searchByFoursquareId ( string $foursquareId ) : Response Search for a location by Foursquare location ID.

Method Details

get() public méthode

Get information about a location.
public get ( string $id ) : Response
$id string The ID of the location
Résultat Larabros\Elogram\Http\Response

getRecentMedia() public méthode

Get a list of recent media objects from a given location.
public getRecentMedia ( string $id, string | null $minId = null, string | null $maxId = null ) : Response
$id string The ID of the location
$minId string | null Return media before this min_id
$maxId string | null Return media after this max_id
Résultat Larabros\Elogram\Http\Response

searchByFacebookPlacesId() public méthode

Search for a location by Facebook Places ID.
public searchByFacebookPlacesId ( integer $facebookPlacesId ) : Response
$facebookPlacesId integer A Facebook Places ID
Résultat Larabros\Elogram\Http\Response

searchByFoursquareId() public méthode

Search for a location by Foursquare location ID.
public searchByFoursquareId ( string $foursquareId ) : Response
$foursquareId string A Foursquare V2 API location ID
Résultat Larabros\Elogram\Http\Response