Pikeo::API - High-level OO interface to pikeo.com API!
Version 1.01
use Pikeo::API; use Pikeo::API::Photos; # create an API object to maintain you session # trough out the diferent calls my $api = Pikeo::API->new({api_secret=>'asd', api_key=>'asdas'}); # Create the Photos facade my $photos = Pikeo::API::Photos->new({ api => $api }); # Search for photos $photos_searched = $photos->search({text=>'shozu'});
This package provides a OO interface to the pikeo.com API.
Using the pikeo REST API, this distribution provides an high-level interface to traverse the pikeo objects.
To use this module you need to have a valid API key.
This module, Pikeo::API, provides the object that olds the api request definitions such as api_key, user agent configuration and credentials for de authenticaded calls.
You must instantiate a Pikeo::API object in order to use the facade module that abstract the photos, albums, etc.
All the facade modules receive an Pikeo::API object as a mandatory argument for their constructors.
Search and retrieve photos.
Search and retrieve users/profiles.
Provides access to the private methods for your user. You must be logged in.
Returns a Pikeo::API object.
Required args are:
api_key
Your api key
api_secret
Optional args are:
username
Username to login
password
Password for the logged user
Authenticate and logs in a user.
Returns 1 if there is a logged access, 0 otherwise
Make a request to the give API method and returns a XML::LibXML object with the result.
\%args should contain all the arguments to be passed as parameters to the remote API.
Bruno Tavares, <bmavt at cpan.org>
<bmavt at cpan.org>
Please report any bugs or feature requests to bug-pikeo-api at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Pikeo-API. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-pikeo-api at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc Pikeo::API
You can also look for information at:
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/Pikeo-API
CPAN Ratings
http://cpanratings.perl.org/d/Pikeo-API
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Pikeo-API
Search CPAN
http://search.cpan.org/dist/Pikeo-API
Copyright 2008 Bruno Tavares, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Pikeo::API, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Pikeo::API
CPAN shell
perl -MCPAN -e shell install Pikeo::API
For more information on module installation, please visit the detailed CPAN module installation guide.