hackthebox.leaderboard — HTB Leaderboards
Leaderboards
- class hackthebox.leaderboard.Leaderboard(data: List[dict], client: hackthebox.htb.HTBClient, leaderboard_type: type)[source]
The class representing a Leaderboard
- Parameters
data – A list of Leaderboard entries
leaderboard_type – The Type of entries in the Leaderboard
Countries
- class hackthebox.leaderboard.Country(data: dict)[source]
The class representing a Country
- rank
The Country’s global rank
- Type
int
- country_code
The Country’s country code
- Type
str
- members
The number of members from the Country
- Type
int
- points
The Country’s total points
- Type
int
- user_owns
The Country’s total user owns
- Type
int
- root_owns
The Country’s total root owns
- Type
int
- challenge_owns
The Country’s total challenge owns
- Type
int
- user_bloods
The Country’s total user bloods
- Type
int
- root_bloods
The Country’s total root bloods
- Type
int
- fortress
The Country’s total Fortress flags
- Type
int
- endgame
The Country’s total Endgame flags
- Type
int
- name
The name of the Country
- Type
str
- Parameters
data – The data of the country
Universities
- class hackthebox.leaderboard.University(data: dict)[source]
The class representing a University
- rank
The University’s global rank
- Type
int
- students
The number of students from the University
- Type
int
- points
The University’s total points
- Type
int
- user_owns
The University’s total user owns
- Type
int
- root_owns
The University’s total root owns
- Type
int
- challenge_owns
The University’s total challenge owns
- Type
int
- user_bloods
The University’s total user bloods
- Type
int
- root_bloods
The University’s total root bloods
- Type
int
- fortress
The University’s total Fortress flags
- Type
int
- endgame
The University’s total Endgame flags
- Type
int
- name
The name of the University
- Type
str
- Parameters
data – The data of the University