Imgur::API - A minimal client for Imgur's REST api
use Imgur::API; my $imgur = Imgur::API->new(api_key=><your api key>); my $img_details = $imgur->image->get(image=>'pdX5DZS'); my $img = $imgur->image->upload(image=>$imgr->content("/home/user/Downloads/what.jpg",title=>"image title",album=>"dCsfeXb"); my $ret = $imgur->image->delete(image=>'pdX5DZSsdf54fs");
Imgur::API is a Perl interface to Imgur's REST API. Complete documentation can be found at https://apidocs.imgur.com/.
Imgur::API
Imgur::API::Endpoint::Account
Imgur::API::Endpoint::Album
Imgur::API::Endpoint::Comment
Imgur::API::Endpoint::Conversation
Imgur::API::Endpoint::Custom_gallery
Imgur::API::Endpoint::Gallery
Imgur::API::Endpoint::Image
Imgur::API::Endpoint::Memegen
Imgur::API::Endpoint::Notification
Imgur::API::Endpoint::Topic
Imgur::API::Endpoint::Misc
Imgur::API::Endpoint::OAuth
Imgur::API::Model::Account
Imgur::API::Model::Topic
Imgur::API::Model::GalleryImage
Imgur::API::Model::GalleryProfile
Imgur::API::Model::Conversation
Imgur::API::Model::Message
Imgur::API::Model::CustomGallery
Imgur::API::Model::Comment
Imgur::API::Model::TagVote
Imgur::API::Model::Album
Imgur::API::Model::Vote
Imgur::API::Model::Tag
Imgur::API::Model::Image
Imgur::API::Model::GalleryAlbum
Imgur::API::Model::Basic
Imgur::API::Model::Notification
Imgur::API::Model::MemeMetadata
Imgur::API::Model::AccountSettings
https://api.imgur.com/
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.