hudman 9.0.0
Local HUD mirror manager
hudman.hud.github.HUDGitHub Class Reference
Inheritance diagram for hudman.hud.github.HUDGitHub:
hudman.hud.HUDCommon

Public Member Functions

def __init__ (self, hud)
 

Private Member Functions

int _updatecheck (self)
 

Private Attributes

 _apiurl
 
 _ghtoken
 
 _ghuser
 

Detailed Description

Class for working with HUDs hosted on GitHub.

Constructor & Destructor Documentation

◆ __init__()

def hudman.hud.github.HUDGitHub.__init__ (   self,
  hud 
)
Main constructor of the HUDGitHub class.
:param hud: A single entry from the HUD database.

Reimplemented from hudman.hud.HUDCommon.

Member Function Documentation

◆ _updatecheck()

int hudman.hud.github.HUDGitHub._updatecheck (   self)
private
Call GitHub API and fetch last modification time of the
specified HUD.
:return: Last modification time in the unixtime format.
:rtype: int

Reimplemented from hudman.hud.HUDCommon.