beem.vote module

class beem.vote.AccountVotes(account, steem_instance=None)

Bases: beem.vote.VotesObject

Obtain 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, steem_instance=None)

Bases: beem.vote.VotesObject

Obtain 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, steem_instance=None)

Bases: beem.blockchainobject.BlockchainObject

Read 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
v = Vote("theaussiegame/cryptokittie-giveaway-number-2|")
json()
percent
refresh()
rep
reputation
rshares
sbd
time
type_id = 11
voter
weight
class beem.vote.VotesObject

Bases: list

printAsTable(sort_key='sbd', reverse=True)