beem.comment module¶
-
class
beem.comment.
Comment
(authorperm, full=False, lazy=False, steem_instance=None)¶ Bases:
beem.blockchainobject.BlockchainObject
Read data about a Comment/Post in the chain
Parameters: - authorperm (str) – perm link to post/comment
- steem_instance (steem) – Steem() instance to use when accesing a RPC
-
body
¶
-
category
¶
-
id
¶
-
is_comment
()¶ Retuns True if post is a comment
-
is_main_post
()¶ Retuns True if main post, and False if this is a comment (reply).
-
json
()¶
-
json_metadata
¶
-
parent_permlink
¶
-
permlink
¶
-
refresh
()¶
-
title
¶
-
type_id
= 8¶
-
class
beem.comment.
RecentByPath
(path='promoted', category=None, steem_instance=None)¶ Bases:
list
Obtain a list of votes for an account
Parameters: - account (str) – Account name
- steem_instance (steem) – Steem() instance to use when accesing a RPC
-
class
beem.comment.
RecentReplies
(author, skip_own=True, steem_instance=None)¶ Bases:
list
Obtain a list of recent replies
Parameters: - author (str) – author
- steem_instance (steem) – Steem() instance to use when accesing a RPC