| Name | Description | |----------------------------------|-------------------------------------------------------------------------| | Reddit.CheckSubredditAccess | Checks whether the specified subreddit exists and also if it is accessible | | Reddit.GetSubredditRules | Gets the rules of the specified subreddit | | Reddit.GetMyUsername | Get the Reddit username of the authenticated user | | Reddit.GetMyPosts | Get posts that were created by the authenticated user sorted by newest | Four new tools that I had to create for my demo app.
29 lines
667 B
Python
29 lines
667 B
Python
from arcade_reddit.tools.read import (
|
|
check_subreddit_access,
|
|
get_content_of_multiple_posts,
|
|
get_content_of_post,
|
|
get_my_posts,
|
|
get_my_username,
|
|
get_posts_in_subreddit,
|
|
get_subreddit_rules,
|
|
get_top_level_comments,
|
|
)
|
|
from arcade_reddit.tools.submit import (
|
|
comment_on_post,
|
|
reply_to_comment,
|
|
submit_text_post,
|
|
)
|
|
|
|
__all__ = [
|
|
"check_subreddit_access",
|
|
"comment_on_post",
|
|
"get_content_of_multiple_posts",
|
|
"get_content_of_post",
|
|
"get_my_posts",
|
|
"get_my_username",
|
|
"get_posts_in_subreddit",
|
|
"get_subreddit_rules",
|
|
"get_top_level_comments",
|
|
"reply_to_comment",
|
|
"submit_text_post",
|
|
]
|