| Name |
Type |
Description |
Notes |
| id |
str |
Reddit username (URL slug). |
|
| user_t2_id |
str |
Reddit internal user id (`t2_*` fullname). |
|
| name |
str |
|
|
| prefixed_name |
str |
Display form like `u/spez`. |
|
| karma_total |
float |
|
|
| karma_from_posts |
float |
|
|
| karma_from_comments |
float |
|
|
| is_verified |
bool |
|
|
| is_employee |
bool |
|
|
from unifapi.models.reddit_user import RedditUser
# TODO update the JSON string below
json = "{}"
# create an instance of RedditUser from a JSON string
reddit_user_instance = RedditUser.from_json(json)
# print the JSON string representation of the object
print(RedditUser.to_json())
# convert the object into a dict
reddit_user_dict = reddit_user_instance.to_dict()
# create an instance of RedditUser from a dict
reddit_user_from_dict = RedditUser.from_dict(reddit_user_dict)
[Back to Model list] [Back to API list] [Back to README]