Petr Kletečka

NAME

WebService::Rajce - Perl module for rajce.net web API.

VERSION

version 1.130930

SYNOPSIS

        use WebService::Rajce;
        my $rajce = new WebService::Rajce;
        $rajce->login($mail,$password);
        my $album = $rajce->create_album('Title','Description');
        $rajce->add_photo('/path/to/file.jpg',$album)

METHODS

my $rajce = new WebService::Rajce;

Create new object instance.

$rajce->_debug($mesage);

Show debugging message.

$rajce->login($mail,$password);

Login to API.

$rajce->list($userid);

Get list of albums. NOTICE - list other users albums not implemented in API yet

$rajce->photo_list($albumid);

Get list of images in album.

$rajce->search_users($query,$skip,$limit);

Get list of users. NOTICE - not implemented in API yet

$rajce->get_url($target);

Get some URL from rajce.net $target = 'user-profile' | 'email-notifications' | 'service-notifications' ;

$rajce->search_albums($query,$skip,$limit);

Get list of users. NOTICE - not implemented in API yet

$rajce->reg_url();

Get URL where is form for creating new account on rajce.net.

$rajce->recover_url();

Get URL where is form for recover forget password.

$rajce->create_album($title,$desc);

Create new album.

$rajce->_open_album($album);

Open album for adding pictures.

$rajce->_close_album($album);

Close album after adding pictures.

$rajce->add_photo($filename,$album);

Add photo into gallery.

$rajce->get_albumurl($album);

Get URL of album.

SEE ALSO

http://rajce.net/static/doc/LiveApi.html

AUTHOR

Petr Kletecka <pek@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2013 by Petr Kletecka.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.




Hosting generously
sponsored by Bytemark