NAME

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

VERSION

version 1.202830

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.

The debug param turns on debug mode.

The keep_exif param keep EXIF information in uploaded image.

$rajce->_debug($message);

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

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

AUTHOR

Petr Kletecka <pek@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2015 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.