NAME
Imgur::API::Endpoint::Topic
DESCRIPTION
Access to the imgur Topic API Endpoint.
See: https://api.imgur.com/endpoints/topic
METHODS
defaults
Get the list of default topics.
Parameters
galleryTopic
View gallery items for a topic
Parameters
page
optionalinteger - the data paging number
topic_id
requiredThe ID or URL-formatted name of the topic. If using a topic's name, replace its spaces with underscores (Mother's_Day).
window
optionalChange the date range of the request if the sort is "top", day | week | month | year | all, defaults to week
sort
optionalviral | time | top - defaults to viral
galleryTopicItem
View a single item in a gallery topic
Parameters
topic_id
requiredThe ID or URL-formatted name of the topic. If using a topic's name, replace its spaces with underscores (Mother's_Day).
item_id
requiredThe ID for the gallery item.
3 POD Errors
The following errors were encountered while parsing the POD:
- Around line 29:
'=item' outside of any '=over'
- Around line 51:
You forgot a '=back' before '=head2'
- Around line 57:
'=item' outside of any '=over'
=over without closing =back