logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Flickr::API::Cameras - An interface to the flickr.cameras.* methods.

Description

       This object encapsulates the flickr cameras methods.

       "Flickr::API::Cameras" is a subclass of Flickr::API, so you can access Flickr's camera information
       easily.

Name

       Flickr::API::Cameras - An interface to the flickr.cameras.* methods.

See Also

       Flickr::API.         Flickr        <http://www.flickr.com/>,        <http://www.flickr.com/services/api/>
       <https://github.com/iamcal/perl-Flickr-API>

perl v5.40.1                                       2025-05-04                          Flickr::API::Cameras(3pm)

Subroutines/Methods

       "brands_list"
           Returns an array of camera brands from Flickr's API.

       "brands_hash"
           Returns a hash of camera brands from Flickr's API.

       "get_cameras"
           Returns a hash reference to the descriptions of the cameras for a particular brand.

Synopsis

         use Flickr::API::Cameras;

         my $api = Flickr::API::Cameras->new({'consumer_key' => 'your_api_key'});

       or

         my $api = Flickr::API::Cameras->import_storable_config($config_file);

         my @brands = $api->brands_list();
         my %brands = $api->brands_hash();

         my $cameras = $api->get_cameras($brands[1]);

See Also