Room specific classes API¶
Pokerstars player notes¶
-
class
poker.room.pokerstars.
Notes
(notes: str)[source]¶ Class for parsing pokerstars XML notes.
-
get_note
(player)[source]¶ Return
_Note
tuple for the player.Raises: poker.room.pokerstars.NoteNotFoundError –
-
add_note
(player, text, label=None, update=None)[source]¶ Add a note to the xml. If update param is None, it will be the current time.
Raises: poker.room.pokerstars.LabelNotFoundError – if there is no such label name
-
del_note
(player)[source]¶ Delete a note by player name.
Raises: poker.room.pokerstars.NoteNotFoundError –
-
label_names
¶ Tuple of label names.
-
labels
¶ Tuple of labels.
-
notes
¶ Tuple of notes..
-
players
¶ Tuple of player names.
-