1Flickr::API::Cameras(3)User Contributed Perl DocumentatioFnlickr::API::Cameras(3)
2
3
4

NAME

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

SYNOPSIS

9         use Flickr::API::Cameras;
10
11         my $api = Flickr::API::Cameras->new({'consumer_key' => 'your_api_key'});
12
13       or
14
15         my $api = Flickr::API::Cameras->import_storable_config($config_file);
16
17         my @brands = $api->brands_list();
18         my %brands = $api->brands_hash();
19
20         my $cameras = $api->get_cameras($brands[1]);
21

DESCRIPTION

23       This object encapsulates the flickr cameras methods.
24
25       "Flickr::API::Cameras" is a subclass of Flickr::API, so you can access
26       Flickr's camera information easily.
27

SUBROUTINES/METHODS

29       "brands_list"
30           Returns an array of camera brands from Flickr's API.
31
32       "brands_hash"
33           Returns a hash of camera brands from Flickr's API.
34
35       "get_cameras"
36           Returns a hash reference to the descriptions of the cameras for a
37           particular brand.
38
40       Copyright (C) 2015, Louis B. Moore
41
42       This program is released under the Artistic License 2.0 by The Perl
43       Foundation.
44

SEE ALSO

46       Flickr::API.  Flickr <http://www.flickr.com/>,
47       <http://www.flickr.com/services/api/>
48       <https://github.com/iamcal/perl-Flickr-API>
49
50
51
52perl v5.38.0                      2023-07-20           Flickr::API::Cameras(3)
Impressum