AsyncUser#

class redditeasy.AsyncUser(client_id=None, client_secret=None, user_agent=None)#

This class is for getting posts from a user in an async way

async get_controversial_post(user: str) Post#
Returns

Info about the randomly selected post from the user (controversial)

Param

user (builtins.str) - The user to get the post from

Return type

Post

async get_new_post(user: str) Post#
Returns

Info about the randomly selected post from the user (new)

Param

user (builtins.str) - The user to get the post from

Return type

Post

async get_post(user: str) Post#
Returns

Info about the randomly selected post from the user (hot)

Param

user (builtins.str) - The user to get the post from

Return type

Post

async get_top_post(user: str) Post#
Returns

Info about the randomly selected post from the user (top)

Param

user (builtins.str) - The user to get the post from

Return type

Post