1WebService::Rajce(3)  User Contributed Perl Documentation WebService::Rajce(3)
2
3
4

NAME

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

VERSION

9       version 1.202830
10

SYNOPSIS

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

METHODS

19   my $rajce = new WebService::Rajce;
20       Create new object instance.
21
22       The "debug" param turns on debug mode.
23
24       The "keep_exif" param keep EXIF information in uploaded image.
25
26   $rajce->_debug($message);
27       Show debugging message.
28
29   $rajce->login($mail,$password);
30       Login to API.
31
32   $rajce->list($userid);
33       Get list of albums.  NOTICE - list other users albums not implemented
34       in API yet
35
36   $rajce->photo_list($albumid);
37       Get list of images in album.
38
39   $rajce->search_users($query,$skip,$limit);
40       Get list of users.  NOTICE - not implemented in API yet
41
42   $rajce->get_url($target);
43       Get some URL from rajce.net $target = 'user-profile' |
44       'email-notifications' | 'service-notifications' ;
45
46   $rajce->search_albums($query,$skip,$limit);
47       Get list of users.  NOTICE - not implemented in API yet
48
49   $rajce->reg_url();
50       Get URL where is form for creating new account on rajce.net.
51
52   $rajce->recover_url();
53       Get URL where is form for recover forget password.
54
55   $rajce->create_album($title,$desc);
56       Create new album.
57
58   $rajce->_open_album($album);
59       Open album for adding pictures.
60
61   $rajce->_close_album($album);
62       Close album after adding pictures.
63
64   $rajce->add_photo($filename,$album);
65       Add photo into gallery.
66
67   $rajce->get_albumurl($album);
68       Get URL of album.
69

SEE ALSO

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

AUTHOR

74       Petr Kletecka <pek@cpan.org>
75
77       This software is copyright (c) 2015 by Petr Kletecka.
78
79       This is free software; you can redistribute it and/or modify it under
80       the same terms as the Perl 5 programming language system itself.
81
82
83
84perl v5.34.0                      2021-07-27              WebService::Rajce(3)
Impressum