WebService::Rajce(3)

πŸ“¦
version 1.202.830 Β· 2 versions
, in fedora 43

πŸ’– 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.


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