Метод | Описание | |
---|---|---|
get ( string $id ) : |
Get information about a media object. | |
getByShortcode ( string $shortcode ) : |
This method returns the same response as :php:meth:MediaRepository::get | |
search ( integer $latitude, integer $longitude, integer $distance = 1000 ) : |
Search for recent media in a given area. |
public getByShortcode ( string $shortcode ) : |
||
$shortcode | string | The shortcode of the media object |
Результат |
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. |
Результат |