Imgur::API::Endpoint::Custom_gallery
Access to the imgur Custom_gallery API Endpoint.
View images for current user's custom gallery
Parameters
sort optional
sort
viral | time | top - defaults to viral
window optional
window
Change the date range of the request if the sort is "top", day | week | month | year | all, defaults to week
page optional
page
integer - the data paging number
View a single image in a user's custom gallery
image_id required
image_id
The ID for the gallery item.
item_id required
item_id
Item_id
Add tags to a user's custom gallery
tags required
tags
Array of tags (e.g. 'cats,dogs')
Remove tags from a custom gallery
https://api.imgur.com/endpoints/custom_gallery
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.