pwncollege.user — pwncollege Users

Users

class pwncollege.user.User(data: dict, client: PWNClient)[source]

The class representing pwncollege Users

name

The username of the User

Type:

str

ranking

The User’s position on the Global Leaderboard

Type:

int

points

The User’s current total points

Type:

int

country_name

The name of the User’s country

Type:

str

website

The User’s website

Type:

str

belt

The User’s current belt

Type:

str

Initialise a User using API data

change_profile(new_username: str = '', new_email: str = '', password: str = '', new_website: str = '', new_country: str = '', hidden: str = 'False')[source]

Change the User’s username

change_sshkey(ssh_key: str)[source]

Change the User’s SSH key