Imgur::API::Model::Topic
The base model for a topic.
id integer
ID of the topic.
name string
Topic name
description string
Description of the topic
css string
CSS class used on website to style the ephemeral topic
ephemeral boolean
Whether it is an ephemeral (e.g. current events) topic
topPost Gallery Image OR Gallery Album
The top image in this topic
heroImage Image
The current 'hero' image chosen by the Imgur community staff
isHero boolean
Whether the topic's heroImage should be used as the overall hero image
{ "success" : true, "status" : 200, "data" : [ { "ephemeral" : false, "name" : "jasdev jokes", "css" : null, "topPost" : {}, "description" : "\"We should add more functions, that's what they do in functional programming.\",", "id" : 1 }, { "topPost" : {}, "name" : "Super Smash Bros", "ephemeral" : true, "css" : "smashbros", "description" : "Game is hard. Tag all the n00bs with this topic.", "id" : 6 } ] }
http://api.imgur.com/models/topic
2 POD Errors
The following errors were encountered while parsing the POD:
'=item' outside of any '=over'
You forgot a '=back' before '=head1'
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.