Procedures

Automation procedures in the Reddit book.

The following documentation is for Reddit v1.0.2 (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.

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.

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"

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.

Last updated

Was this helpful?