beem.vote¶
-
class
beem.vote.AccountVotes(account, start=None, stop=None, raw_data=False, lazy=False, full=False, blockchain_instance=None, **kwargs)¶ Bases:
beem.vote.VotesObjectObtain a list of votes for an account Lists the last 100+ votes on the given account.
Parameters: - account (str) – Account name
- steem_instance (Steem) – Steem() instance to use when accesing a RPC
-
class
beem.vote.ActiveVotes(authorperm, lazy=False, full=False, blockchain_instance=None, **kwargs)¶ Bases:
beem.vote.VotesObjectObtain a list of votes for a post
Parameters: - authorperm (str) – authorperm link
- steem_instance (Steem) – Steem() instance to use when accesing a RPC
-
class
beem.vote.Vote(voter, authorperm=None, full=False, lazy=False, blockchain_instance=None, **kwargs)¶ Bases:
beem.blockchainobject.BlockchainObjectRead data about a Vote in the chain
Parameters: - authorperm (str) – perm link to post/comment
- steem_instance (Steem) – Steem() instance to use when accesing a RPC
>>> from beem.vote import Vote >>> from beem import Steem >>> stm = Steem() >>> v = Vote("@gtg/steem-pressure-4-need-for-speed|gandalf", steem_instance=stm)
-
hbd¶
-
json()¶
-
percent¶
-
refresh()¶
-
rep¶
-
reputation¶
-
sbd¶
-
time¶
-
token_backed_dollar¶
-
type_id= 11¶
-
votee¶
-
voter¶
-
weight¶
-
class
beem.vote.VotesObject¶ Bases:
list-
get_list(var='voter', voter=None, votee=None, start=None, stop=None, start_percent=None, stop_percent=None, sort_key='time', reverse=True)¶
-
get_sorted_list(sort_key='time', reverse=True)¶
-
printAsTable(voter=None, votee=None, start=None, stop=None, start_percent=None, stop_percent=None, sort_key='time', reverse=True, allow_refresh=True, return_str=False, **kwargs)¶
-
print_stats(return_str=False, **kwargs)¶
-