Reddit
Seamlessly integrate Reddit with your favorite APIs, databases, and programming languages, using WayScript.
The front page of the internet.

​
πŸ‘€
Data About My Account

​
πŸ“€
Output

1
Account = {
2
description : String,
3
karma : Int,
4
comment_karma : Int,
5
link_karma : Int,
6
subscribers : Int,
7
coins : Int,
8
created_utc : Date,
9
gold_credits : Int,
10
icon_img : Url,
11
id : String,
12
inbox_count : Int,
13
is_employee : Bool,
14
is_suspended : Bool,
15
name : String,
16
num_friends : Int,
17
}
Copied!

​
πŸ”Ž
Search a Subreddit

​
πŸ“₯
Inputs

  • Subreddit Name - The name of the subreddit (ex - 'programming')
  • Sort By
    • Options - Hot, Top, New, Controversial, Rising, Random
  • Number of Posts to Return - How many posts you want to be outputted.

​
πŸ“€
Outputs

1
Subreddit = {
2
num_subscribers : Int,
3
active_accounts : Int,
4
public_description : String,
5
description : String,
6
advertiser_category : String,
7
all_original_content : Bool,
8
banner_background_color : String,
9
banner_img : Url,
10
community_icon : Url,
11
created_utc : Date,
12
display_name : String,
13
display_name_prefixed : String,
14
emojis_enabled : Bool,
15
header_img : Url,
16
hide_ads : Bool,
17
icon_img : Url,
18
id : String,
19
lang : String,
20
link_flair_enabled : Bool,
21
over18 : Bool,
22
spoilers_enabled : Bool,
23
url : Url,
24
wiki_enabled : Bool,
25
}
Copied!
1
Subreddit_Posts = [
2
{
3
title : String,
4
date : Date.
5
author : String,
6
text : String,
7
score : Int,
8
upvotes : Int,
9
downvotes : Int,
10
num_comments : Int,
11
permalink : Url,
12
post_url : Url,
13
gilded : Int,
14
id : String,
15
is_video : Bool,
16
num_crossposts : Int,
17
num_reports : Int,
18
over18 : Bool,
19
},
20
]
Copied!

​
πŸ‘₯
Data About Other Users

​
πŸ“₯
Inputs

  • Account Name - account name of the user.

​
πŸ“€
Output

1
Reddit_User = {
2
description : String,
3
comment_karma : Int,
4
link_karma : Int,
5
karma : Int,
6
subscribers : Int,
7
created_utc : String,
8
icon_img : Url,
9
id : String,
10
is_employee : Bool,
11
is_friend : Bool,
12
is_gold : Bool,
13
moderator : Bool,
14
name : String,
15
verified : Bool,
16
}
Copied!

​
πŸ“Œ
Get Posts from Other Users

Pull in the posts of a user by their username.

​
πŸ“₯
Inputs

  • Number of Posts to Return - How many posts you want to be outputted.
  • Account Name - account name of the user.

​
πŸ“€
Output

1
Posts = [
2
{
3
title : String,
4
author : String,
5
text : String,
6
created_utc : Date,
7
score : Int,
8
upvotes : Int,
9
downvotes : Int,
10
num_comments : Int,
11
permalink : Url,
12
url : Url,
13
subreddit : String,
14
subreddit_subscribers : Int,
15
over_18 : Bool,
16
num_crossposts : Int,
17
},
18
]
Copied!

​
πŸ’¬
Get Comments from Other Users

​
πŸ“₯
Inputs

  • Number of Posts to Return - How many posts you want to be outputted.
  • Account Name - account name of the user.

​
πŸ“€
Output

1
Comments = [
2
{
3
text : String,
4
author : String,
5
created_utc : Date,
6
score : Int,
7
num_comments : Int,
8
upvotes : Int,
9
downvotes : Int,
10
subreddit : String,
11
permalink : Url,
12
url : Url,
13
},
14
]
Copied!
Last modified 1yr ago