User
airvpn.web.user
WebUser
Represents an AirVPN member's public profile.
Attributes:
| Name | Type | Description |
|---|---|---|
name |
str
|
Display name of the user. |
id |
int
|
The user's ID. |
image |
str
|
URL of the user's profile image. |
profile_url |
str
|
Full URL to the user's profile page. |
content_count |
int | None
|
Number of content items (posts) the user has made. |
contacts |
Contacts | None
|
The user's contact information. |
followers |
int | None
|
Number of followers the user has. |
community_reputation |
int | None
|
The user's community reputation score. |
rank |
str | None
|
Display name of the user's rank, as shown in the profile header. |
joined |
datetime | None
|
Date and time the user joined. |
last_visited |
datetime | None
|
Date and time of the user's last visit. |
about |
About | None
|
The user's "About" information, including detailed rank data and birthday. |
gender |
str | None
|
The user's disclosed gender. |
location |
str | None
|
The user's disclosed location. |
interests |
str | None
|
The user's disclosed interests. |
about
property
About | None: The user's "About" information, including detailed rank data and birthday.
community_reputation
property
int | None: The user's community reputation score.
contacts
property
Contacts | None: The user's contact methods.
content_count
property
int | None: Number of content items (posts) the user has made.
followers
property
int | None: Number of followers the user has.
gender
property
str | None: The user's disclosed gender.
image
property
str: The user's profile picture.
interests
property
str | None: The user's disclosed interests.
joined
property
datetime | None: Date and time the user joined.
last_visited
property
datetime | None: Date and time of the user's last visit.
location
property
str | None: The user's disclosed location.
rank
property
str | None: Display name of the user's rank, as shown in the profile header.
follow() -> bool
Follow this member.
Returns:
| Name | Type | Description |
|---|---|---|
bool |
bool
|
|
unfollow() -> bool
Unfollow the user.
Returns:
| Name | Type | Description |
|---|---|---|
bool |
bool
|
|
update()
Force update attributes.