Imgur::API::Endpoint::Topic
Access to the imgur Topic API Endpoint.
Get the list of default topics.
Parameters
View gallery items for a topic
window optional
window
Change the date range of the request if the sort is "top", day | week | month | year | all, defaults to week
sort optional
sort
viral | time | top - defaults to viral
topic_id required
topic_id
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
page
integer - the data paging number
View a single item in a gallery topic
item_id required
item_id
The ID for the gallery item.
https://api.imgur.com/endpoints/topic
To install Imgur::API, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Imgur::API
CPAN shell
perl -MCPAN -e shell install Imgur::API
For more information on module installation, please visit the detailed CPAN module installation guide.