Users
API models for the users
endpoint.
GetBansResponse ¶
A model response from ravyapi.api.endpoints.users.Users.get_bans
.
Attributes:
Name | Type | Description |
---|---|---|
data |
dict[str, Any]
|
The raw data returned from the Ravy API. |
trust |
Trust
|
The user's |
bans |
list[BanEntryResponse]
|
A list of the user's |
bans
property
¶
A list of the user's ravyapi.api.models.generic.ban_entry.BanEntryResponse
ban models.
GetPronounsResponse ¶
GetReputationResponse ¶
A model response from ravyapi.api.endpoints.users.Users.get_reputation
.
Attributes:
Name | Type | Description |
---|---|---|
data |
dict[str, Any]
|
The raw data returned from the Ravy API. |
rep |
list[ReputationEntry]
|
A list of the user's |
trust |
Trust
|
The user's |
GetUserResponse ¶
A model response from ravyapi.api.endpoints.users.Users.get_user
.
Attributes:
Name | Type | Description |
---|---|---|
data |
dict[str, Any]
|
The raw data returned from the Ravy API. |
pronouns |
str
|
The user's pronouns. |
trust |
Trust
|
The user's |
whitelists |
list[WhitelistEntry]
|
A list of the user's |
bans |
list[BanEntryResponse]
|
A list of the user's |
rep |
list[ReputationEntry]
|
A list of the user's |
sentinel |
SentinelEntry
|
The user's |
bans
property
¶
A list of the user's ravyapi.api.models.generic.ban_entry.BanEntryResponse
ban models.
rep
property
¶
A list of the user's ravyapi.api.models.users.ReputationEntry
reputation models.
sentinel
property
¶
The user's ravyapi.api.models.users.SentinelEntry
sentinel model.
whitelists
property
¶
A list of the user's ravyapi.api.models.users.WhitelistEntry
whitelist models.
GetWhitelistsResponse ¶
A model response from ravyapi.api.endpoints.users.Users.get_whitelists
.
Attributes:
Name | Type | Description |
---|---|---|
data |
dict[str, Any]
|
The raw data returned from the Ravy API. |
whitelists |
list[WhitelistEntry]
|
A list of the user's |
trust |
Trust
|
The user's |
whitelists
property
¶
A list of the user's ravyapi.api.models.users.WhitelistEntry
whitelist models.
ReputationEntry ¶
A model for a user's reputation entry.
Attributes:
Name | Type | Description |
---|---|---|
data |
dict[str, Any]
|
The raw data returned from the Ravy API. |
provider |
str
|
Source for the reputation data. |
score |
float
|
Normalized value (0-1) for reputation of the user, 0.5 is default. |
upvotes |
int | None
|
Amount of upvotes this user has received, optional. |
downvotes |
int | None
|
Amount of downvotes this user has received, optional. |
SentinelEntry ¶
A model for a user's sentinel entry.
Attributes:
Name | Type | Description |
---|---|---|
data |
dict[str, Any]
|
The raw data returned from the Ravy API. |
verified |
bool
|
Whether this user has linked their account to sentinel. |
internal_id |
str
|
Internal ID for debug purposes. |