Flickr::API man page on Mandriva

Man page or keyword search:  
man Server   17060 pages
apropos Keyword Search (all sections)
Output format
Mandriva logo
[printable version]

Flickr::API(3)	      User Contributed Perl Documentation	Flickr::API(3)

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.10.1			  2009-08-25			Flickr::API(3)
[top]

List of man pages available for Mandriva

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net