Procedures

Automation procedures in the Reddit BDK Book.

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

subreddit

Yes

Output Concepts

Concept
Description
Type

A list of the latest reddit posts

reddit post

Examples

the limit is 10

get the subreddit's latest posts with

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

subreddit

Yes

Output Concepts

Concept
Description
Type

A list of RedditPost concepts

reddit post

Examples

the limit is 10

get the subreddit's top posts with

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

Output Concepts

Concept
Description
Type

A Subreddit concept with information about the subreddit

subreddit

Examples

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

subreddit

Yes

Output Concepts

Concept
Description
Type

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

reddit post

Examples

the limit is 10

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

Last updated

Was this helpful?