The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Rajce - Perl module for rajce.net web API.

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)
                                                  

DESCRIPTION

This module is interface to rajce.net web API.

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.

AUTHOR

Petr Kletecka, <pek at cpan.org>

BUGS

Please report any bugs or feature requests to pek at cpan.org

SUPPORT

You can find documentation for this module with the perldoc command.

    perldoc WebService::Rajce

You can also look for information at:

https://github.com/petrkle/rajce

LICENSE AND COPYRIGHT

Copyright 2011 Petr Kletecka.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.

SEE ALSO

www.rajce.net http://goo.gl/34P9B - API doc