PHP 클래스 Larabros\Elogram\Repositories\LocationsRepository

저자: Hassan Khan ([email protected])
상속: extends AbstractRepository
파일 보기 프로젝트 열기: larabros/elogram

공개 메소드들

메소드 설명
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.

메소드 상세

get() 공개 메소드

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

getRecentMedia() 공개 메소드

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
리턴 Larabros\Elogram\Http\Response

searchByFacebookPlacesId() 공개 메소드

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

searchByFoursquareId() 공개 메소드

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