Various methods to allow you to interact with users.
Fetch a user from Reddit.
The name of the user to fetch.
The user.
If the username you fetch is the same as the authorized user this will return a MyUser instance. Otherwise it will be an instance of OtherUser. To tell dynamically you can use User.isMe.
Fetch a user's subreddit.
The user who's subreddit to fetch.
A promise that resolves to the user's subreddit.
Get a Listing of all the posts a user has made.
The user to get posts from.
How to sort the posts.
A sorted Listing of posts.
Get a Listing of all the comments a user has made.
The user to get comments from.
How to sort the comments.
A sorted Listing of comments.
Check whether whether or not a username is available.
The username to check.
Whether or not the username is available.
Namespace an id with the proper prefix for its type.
The ID to namespace.
The namespaced version of the id.
Various methods to allow you to interact with users.