Unix and Linux Discussions Tagged with api |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
11 |
20,892 |
UNIX for Advanced & Expert Users |
|
|
|
23 |
8,763 |
What is on Your Mind? |
|
|
|
2 |
1,079 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
2,515 |
What is on Your Mind? |
|
|
|
0 |
2,230 |
Web Development |
|
|
|
0 |
1,089 |
Advertise with Us |
|
|
|
0 |
1,358 |
Software Releases - RSS News |
|
|
|
0 |
2,126 |
MySQL DevZone RSS |
|
|
|
0 |
3,282 |
Solaris BigAdmin RSS |
|
|
|
0 |
770 |
Software Releases - RSS News |
|
|
|
3 |
4,592 |
Programming |
|
|
|
0 |
810 |
Software Releases - RSS News |
|
|
|
4 |
8,769 |
Programming |
|
|
|
0 |
946 |
Software Releases - RSS News |
|
|
|
0 |
4,639 |
Oracle Updates (RSS) |
|
|
|
0 |
2,409 |
Oracle Updates (RSS) |
|
|
|
0 |
1,509 |
Software Releases - RSS News |
|
|
|
3 |
3,050 |
Programming |
|
|
|
2 |
5,452 |
Programming |
|
|
|
1 |
6,242 |
Programming |
|
|
|
5 |
10,490 |
Programming |
|
|
|
4 |
7,666 |
UNIX for Dummies Questions & Answers |
Flickr::API(3pm) User Contributed Perl Documentation Flickr::API(3pm)
NAME
Flickr::API - Perl interface to the Flickr API
SYNOPSIS
use Flickr::API;
my $api = new Flickr::API({'key' => 'your_api_key',
'secret' => 'your_app_secret'});
my $response = $api->execute_method('flickr.test.echo', {
'foo' => 'bar',
'baz' => 'quux',
});
or
use Flickr::API;
use Flickr::API::Request;
my $api = new Flickr::API({'key' => 'your_api_key'});
my $request = new Flickr::API::Request({
'method' => 'flickr.test.echo',
'args' => {},
});
my $response = $api->execute_request($request);
DESCRIPTION
A simple interface for using the Flickr API.
"Flickr::API" is a subclass of LWP::UserAgent, so all of the various proxy, request limits, caching, etc are available.
METHODS
"execute_method($method, $args)"
Constructs a "Flickr::API::Request" object and executes it, returning a "Flickr::API::Response" object.
"execute_request($request)"
Executes a "Flickr::API::Request" object, returning a "Flickr::API::Response" object. Calls are signed if a secret was specified when
creating the "Flickr::API" object.
"request_auth_url($perms,$frob)"
Returns a "URI" object representing the URL that an application must redirect a user to for approving an authentication token.
For web-based applications $frob is an optional parameter.
Returns undef if a secret was not specified when creating the "Flickr::API" object.
AUTHOR
Copyright (C) 2004-2005, Cal Henderson, <cal@iamcal.com>
Auth API patches provided by Aaron Straup Cope
SEE ALSO
Flickr::API::Request, Flickr::API::Response, XML::Parser::Lite, <http://www.flickr.com/>, <http://www.flickr.com/services/api/>
perl v5.14.2 2014-07-04 Flickr::API(3pm)