
Pikeo::API - High-level OO interface to pikeo.com API!

Version 0.51

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:
Your api key
Optional args are:
Username to login
Password for the logged user
Authenticate and logs in a user.
Required args are:
Username to login
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>

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.

You can find documentation for this module with the perldoc command.
perldoc Pikeo::API
You can also look for information at:


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.