Procedures

Automation procedures in the Reddit book.

The following documentation is for Reddit v1.0.1 (BDK).

to get a (subreddit's latest posts)

FILTER - CAPABLE

Gets the latest (newest) post from a specified subreddit.

Input Concepts

Concept
Description
Type
Required
Default Value

The subreddit to get the post from

reddit subreddit

Yes

(no default)

Output Concepts

Concept
Description
Type

A list of the latest reddit posts

reddit post

Examples

Get the latest 10 posts from the 'announcements' subreddit.

get the subreddit's latest posts with
    the limit is 10

to get a (subreddit's top posts)

FILTER - CAPABLE

Gets the top posts from a specified subreddit.

Input Concepts

Concept
Description
Type
Required
Default Value

The subreddit to get the posts from

reddit subreddit

Yes

(no default)

Output Concepts

Concept
Description
Type

A list of RedditPost concepts

reddit post

Examples

Get the top 10 posts from the 'announcements' subreddit.

get the subreddit's top posts with
    the limit is 10

to get a (subreddit)

Gets information about a subreddit.

Input Concepts

Concept
Description
Type
Required
Default Value

name

The name of the subreddit (without the r/ prefix)

text

Yes

(no default)

Output Concepts

Concept
Description
Type

A Subreddit concept with information about the subreddit

reddit subreddit

Examples

Get the 'announcements' subreddit. the name is "announcements"

get a subreddit with

to get some (subreddit's posts)

FILTER - CAPABLE

Gets a Reddit post by its ID.

Input Concepts

Concept
Description
Type
Required
Default Value

The subreddit to get the post from

reddit subreddit

Yes

(no default)

Output Concepts

Concept
Description
Type

A list of reddit posts matching the filters (if provided)

reddit post

Examples

Get 10 posts from the 'announcements' subreddit.

get the subreddit's reddit posts whose title has "kognitos" with
    the limit is 10

Last updated

Was this helpful?