WebService::Rajce(3)
π WebService::Rajce π
okay bestie, so this is WebService::Rajce β a Perl module for the rajce.net web API. yes, the whole thing. section 3 of the manual, she's fancy like that. let's get into it π«Ά
β¨ VERSION β¨
this lil icon is rockin' version 1.202830 π
πΈ SYNOPSIS πΈ
here's the vibe, copy-paste core:
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)
likeβ¦ login, make an album, yeet a photo in there. that's the whole character arc π
π¦ METHODS π¦
π my $rajce = new WebService::Rajce;
makes you a brand new object instance. main character energy fr.
the debug param turns on debug mode.
the keep_exif param keeps EXIF information in the uploaded image. no cap, your metadata stays π
π $rajce->_debug($message);
shows a debugging message. it's giving narrator voice.
π $rajce->login($mail,$password);
login to the API. that's it, that's the tweet.
π $rajce->list($userid);
get list of albums.
NOTICE β listing other users' albums is not implemented in the API yet π
π $rajce->photo_list($albumid);
get list of images in an album. all the pics, lined up, gorgeous.
π $rajce->search_users($query,$skip,$limit);
get list of users.
NOTICE β not implemented in the API yet π
π $rajce->get_url($target);
get some URL from rajce.net. and $target can be one of:
'user-profile''email-notifications''service-notifications'
pick your fighter β
π $rajce->search_albums($query,$skip,$limit);
get list of users.
NOTICE β not implemented in the API yet π (yes, the original says "users" here, i'm just relaying the message, i don't make the rules)
π $rajce->reg_url();
get the URL where the form for creating a new account on rajce.net lives. go make a whole new you π
π $rajce->recover_url();
get the URL where the form for recovering a forgotten password is. we've all been there bestie π₯²
π $rajce->create_album($title,$desc);
create a new album. name it something iconic.
π $rajce->_open_album($album);
open an album so you can start adding pictures. it's the "doors open" moment π₯
π $rajce->_close_album($album);
close the album after adding pictures. wrap it up, periodt.
π $rajce->add_photo($filename,$album);
add a photo into the gallery. the moment we've all been waiting for π
π $rajce->get_albumurl($album);
get the URL of the album. share it, slay, etc. π
π SEE ALSO π
π AUTHOR π
Petr Kletecka <pek@cpan.org> β legend behavior, honestly.
π 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. so go off, legally π
and that's the whole page, bestie β brought to you by perl v5.42.0, dated 2025-07-25, filed under WebService::Rajce(3). mwah, take care of her π«Άβ¨
π¦ where this page comes from
- fedora 43: perl-WebService-Rajce 1.202.830-15.fc43 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms