PHP Class Larabros\Elogram\Repositories\TagsRepository

Inheritance: extends AbstractRepository
Show file Open project: larabros/elogram

Public Methods

Method Description
get ( string $tag ) : Response Get information about a tag object.
getRecentMedia ( string $tag, integer | null $count = null, string | null $minTagId = null, string | null $maxTagId = null ) : Response Get a list of recently tagged media.
search ( string $tag ) : Response Search for tags by name.

Method Details

get() public method

Get information about a tag object.
public get ( string $tag ) : Response
$tag string Name of the tag
return Larabros\Elogram\Http\Response

getRecentMedia() public method

Get a list of recently tagged media.
public getRecentMedia ( string $tag, integer | null $count = null, string | null $minTagId = null, string | null $maxTagId = null ) : Response
$tag string Name of the tag
$count integer | null Count of tagged media to return
$minTagId string | null Return media before this min_tag_id
$maxTagId string | null Return media after this max_tag_id
return Larabros\Elogram\Http\Response