Utils
helldivepy.utils
Attributes
helldivepy.utils.FACTIONS
module-attribute
Classes
helldivepy.utils.DiveHarderException
Bases: Exception
Base exception for all DiveHarder exceptions.
helldivepy.utils.DiveHarderAPIConnectionError
Bases: DiveHarderException
Exception raised when the DiveHarder API connection fails.
Functions
helldivepy.utils.hdml_to_md
Converts a string in HDML (DiveHarder Markup Language) format to Markdown format.
PARAMETER | DESCRIPTION |
---|---|
text
|
The input string in HDML format.
TYPE:
|
RETURNS | DESCRIPTION |
---|---|
str
|
The input string converted to Markdown format.
TYPE:
|
helldivepy.utils.parse_faction
Parse faction ID to string
PARAMETER | DESCRIPTION |
---|---|
faction
|
The faction ID
TYPE:
|
RETURNS | DESCRIPTION |
---|---|
str
|
The faction name
TYPE:
|