hackthebox.user — HTB Users

Users

class hackthebox.user.User(data: dict, client: HTBClient, summary: bool = False)[source]

The class representing Hack The Box Users

name

The username of the User

Type

str

avatar

The relative URL of the User’s avatar

Type

str

ranking

The User’s position on the Hall of Fame

Type

int

points

The User’s current total points

Type

int

user_owns

The User’s total Machine user owns

Type

int

root_owns

The User’s total Machine root owns

Type

int

user_bloods

The User’s total Machine user bloods

Type

int

root_bloods

The User’s total Machine root bloods

Type

int

rank_name

The name of the User’s current rank

Type

str

country_name

The name of the User’s country

Type

str

team

The User’s Team

Type

Team

public

Whether the User’s profile is publicly visible

Type

bool

timezone

The User’s timezone

Type

str

vip

Whether the User is VIP

Type

bool

vip_plus

Whether the user is VIP+

Type

bool

respects

The number of respects the User has

Type

int

university

The User’s University

university_name

The User’s university’s name

Type

str

description

The User’s description

Type

str

github

The User’s Github profile

Type

str

linkedin

The User’s LinkedIn profile

Type

str

twitter

The User’s Twitter account

Type

str

website

The User’s website

Type

str

respected

Whether the active User respects the User

Type

bool

followed

Whether the active User follows the User

Type

bool

rank_id

The ID of the User’s rank

Type

int

rank_progress

The User’s progress to the next rank

Type

int

next_rank

The next rank the User will reach

Type

str

next_rank_points

The points required to reach the next rank

Type

int

rank_requirement

The ownership required for the current Rank

Type

int

Initialise a User using API data