geotribu_cli.comments.mdl_comment module

Package constants.

class geotribu_cli.comments.mdl_comment.Comment(author, created, dislikes, id, likes, mode, text, uri, modified=None, parent=None, website=None)

Bases : object

Structure of an Isso comment.

__init__(author, created, dislikes, id, likes, mode, text, uri, modified=None, parent=None, website=None)
author: str
created: float
property created_as_datetime: datetime

Created date as datetime object.

Renvoie:

datetime object

dislikes: int
id: str
likes: int
property markdownified_text: str
Return text converted into Markdown. If conversion fails, it returns

unescaped text.

Renvoie:

comment text in Markdown

mode: int
modified: float = None
property modified_as_datetime: datetime

Modified date as datetime object.

Renvoie:

datetime object

parent: int = None
text: str
property unescaped_text: str

Return text with unescaped HTML tags.

Renvoie:

text with converted escape chars

uri: str
property url_to_comment: str

Full URL to the comment online.

Renvoie:

URL

website: str = None