Description Usage Arguments Value
Uses the OAuth API URL https://oauth.reddit.com/r/subreddit/new.json
1 2 | get_reddit_posts(subreddit, token, agent, username, limit = 100,
max_pages = 10)
|
subreddit |
name of subreddit |
token |
oauth token obtained using |
agent |
name of your reddit api application |
username |
your reddit username |
limit |
the number of posts to return per page (100 maximum) |
max_pages |
the maximum number of pages return |
dataframe containing data for posts in the subreddit
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.