Michael Hollenbeck
and 1 contributors

NAME

Imgur::API::Endpoint::Topic

DESCRIPTION

    Access to the imgur Topic API Endpoint.

METHODS

defaults

    Get the list of default topics.

Parameters

galleryTopic

    View gallery items for a topic

Parameters

  • window optional

    Change the date range of the request if the sort is "top", day | week | month | year | all, defaults to week

  • sort optional

    viral | time | top - defaults to viral

  • topic_id required

    The ID or URL-formatted name of the topic. If using a topic's name, replace its spaces with underscores (Mother's_Day).

  • page optional

    integer - the data paging number

galleryTopicItem

    View a single item in a gallery topic

Parameters

  • item_id required

    The ID for the gallery item.

  • topic_id required

    The ID or URL-formatted name of the topic. If using a topic's name, replace its spaces with underscores (Mother's_Day).

SEE ALSO

    https://api.imgur.com/endpoints/topic