NAME

Imgur::API::Endpoint::Topic

SYNOPSISA

Access to the imgur Topic API Endpoint. 

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

METHODS

defaults(%params)

Get the list of default topics.

Parameters =over 4

galleryTopic(%params)

View gallery items for a topic

Parameters =over 4

  • sort OPTIONAL viral | time | top - defaults to viral

  • page OPTIONAL integer - the data paging number

  • 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).

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

galleryTopicItem(%params)

View a single item in a gallery topic

Parameters =over 4

  • 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).

  • item_id REQUIRED The ID for the gallery item.

3 POD Errors

The following errors were encountered while parsing the POD:

Around line 22:

=back without =over

Around line 32:

'=item' outside of any '=over'

Around line 58:

'=item' outside of any '=over'