Flickr::API2::Photos
See search() and by_id() methods below.
Finds one photo by its id number.
eg. say $api->photos->by_id(3386874895)->title;
Search for photos, for eg:
my @photos = $flickr->photos->search(tags => 'kitten,pony');
For parameters, see:
http://www.flickr.com/services/api/flickr.photos.search.html
This returns an array of Flickr::API2::Photo objects.
To install Flickr::API2, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Flickr::API2
CPAN shell
perl -MCPAN -e shell install Flickr::API2
For more information on module installation, please visit the detailed CPAN module installation guide.