The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

ojo::Snoo - one-liner Mojo functions for the Reddit API

DESCRIPTION

ojo::Snoo provides shortcut functions to the Mojo::Snoo modules.

SYNOPSIS

    perl -Mojo::Snoo -E 'su("perl")->links->each(sub { say $_->author })

METHODS

c

Returns a Mojo::Snoo::Comment object.

l

Returns a Mojo::Snoo::Link object.

mr

Returns a Mojo::Snoo::Multireddit object.

sr

Returns a Mojo::Snoo::Subreddit object.

u

Returns a Mojo::Snoo::User object.

API DOCUMENTATION

Please see the official Reddit API documentation for more details regarding the usage of endpoints. For a better idea of how OAuth works, see the Quick Start and the full documentation. There is also a lot of useful information of the redditdev subreddit.

LICENSE

The (two-clause) FreeBSD License. See LICENSE for details.