Flickr...ameras(3pm)

πŸ“¦
version 1.29 Β· 4 versions
, in debian trixie, ubuntu resolute, ubuntu stonking

✨ NAME ✨

Flickr::API::Cameras β€” bestie, it's literally an interface to the flickr.cameras.* methods πŸ’– (this is a page from the User Contributed Perl Documentation, if you were wondering who made it β€” the people, not the man page gnomes 🧚)


🌸 SYNOPSIS 🌸

okay so first you gotta bring it into your life:

use Flickr::API::Cameras;

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

or, if you're feeling extra and want your config stashed away:

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]);
notice how @brands and %brands are two different vibes for the same data? yeah. list girlies and hash girlies, both valid πŸ’…

πŸ¦‹ DESCRIPTION πŸ¦‹

This object encapsulates the flickr cameras methods. no cap, that's the whole job description πŸ“Έ

Flickr::API::Cameras is a subclass of Flickr::API, so you can access Flickr's camera information easily. iconic inheritance moment, honestly πŸ‘‘


πŸ’– SUBROUTINES/METHODS πŸ’–

⭐ brands_list

Returns an array of camera brands from Flickr's API. array girlies, this one's for you 🫢

🌈 brands_hash

Returns a hash of camera brands from Flickr's API. same tea, different container, and honestly? we love options πŸ“

πŸ”₯ get_cameras

Returns a hash reference to the descriptions of the cameras for a particular brand. yes bestie, a hash reference β€” so you get all the deets on every camera in that brand, all at once. main character energy for real ✨


Copyright (C) 2015, Louis B. Moore

This program is released under the Artistic License 2.0 by The Perl Foundation. slay, legally speaking πŸ’œ


πŸ‘‘ SEE ALSO πŸ‘‘


and that's the whole page, bestie β€” go forth and catalogue cameras πŸ¦‹πŸ’…

perl v5.40.1 β€” 2025-05-04 β€” Flickr...ameras(3pm) πŸŽ€ mwah, ily, bye πŸ’–

πŸ“¦ where this page comes from