Flickr...equest(3pm)
π NAME π
Flickr::API::Request β bestie, it's literally just a request to the Flickr API. That's it. That's the whole vibe. π
This is a Perl module, so it lives its life in the 3pm manual section, and it's part of the User Contributed Perl Documentation crew. π
β¨ SYNOPSIS β¨
Okay so there are two whole ways to do this, and you gotta pick your fighter. π₯
π¦ Using the OAuth form
use Flickr::API;
use Flickr::API::Request;
my $api = Flickr::API->new({'consumer_key' => 'your_api_key'});
my $request = Flickr::API::Request->new({
'method' => $method,
'args' => {},
});
my $response = $api->execute_request($request);
Note the 'consumer_key' up in there β that's the OAuth glow-up. β¨
π§ Using the original Flickr form
use Flickr::API;
use Flickr::API::Request;
my $api = Flickr::API->new({'key' => 'your_api_key'});
my $request = Flickr::API::Request->new({
'method' => $method,
'args' => {},
});
my $response = $api->execute_request($request);
And here it's just 'key' β the classic, the OG, the original recipe. π
πΈ DESCRIPTION πΈ
So like, this object? It encapsulates a request to the Flickr API. Think of it as the little envelope you stuff all your request details into before it goes on its journey. π
Here's the tea though: Flickr::API::Request is a subclass of HTTP::Request, which means you have full main-character access to any of the request parameters and you can tweak them yourself. Do with that what you will. π
But listen β the content, the content-type header, and the content-length header? Those are all built from the 'args' list</> by the Flickr::API::execute_request() method. So don't be out here hand-crafting those, bestie, the method's got it handled. π«Ά
π AUTHOR π
Copyright (C) 2004, Cal Henderson, <cal@iamcal.com> π
OAuth patches and additions Copyright (C) 2014-2016, Louis B. Moore <lbmoore@cpan.org> β¨
π₯ SEE ALSO π₯
Flickr::APINet::OAuth
And that's the whole page, bestie β no notes, it ate, periodt. π
This masterpiece of documentation was brought to you by perl v5.40.1, dated 2025-05-04, and the original title was giving Flickr...equest(3pm) (yes, truncated like that, iconic honestly π). Go forth and make requests. ππ
π¦ where this page comes from
- debian trixie: libflickr-api-perl 1.29-2 Β· Artistic-2.0
- ubuntu resolute: libflickr-api-perl 1.29-2 Β· Artistic-2.0
- ubuntu stonking: libflickr-api-perl 1.29-2 Β· Artistic-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms