Larabros\Elogram\Repositories\TagsRepository

class TagsRepository

TagsRepository

property client

protected AdapterInterface

get($tag)

Get information about a tag object.

Parameters:
  • $tag (string) – Name of the tag
Returns:

Response

getRecentMedia($tag, $count = null, $minTagId = null, $maxTagId = null)

Get a list of recently tagged media.

Parameters:
  • $tag
  • $count
  • $minTagId (string|null) – Return media before this min_tag_id
  • $maxTagId (string|null) – Return media after this max_tag_id
Returns:

Response

search($tag)

Search for tags by name.

Parameters:
  • $tag (string) – Name of the tag
Returns:

Response

__construct(AdapterInterface $client)

Creates a new instance of AbstractRepository.

Parameters: