For now, I am using account history for the profile and filtering the votes. But this is very inefficient as I need to iterate through a lot of non-vote entries in order to collect a sufficient number of votes.
from beem.account import Account
acc = Account('singhpratyush')
for entry in acc.history_reverse():
if entry['type'] == 'vote' and entry['voter'] == acc.name:
# Do something with entry
For now, I am using account history for the profile and filtering the votes. But this is very inefficient as I need to iterate through a lot of non-vote entries in order to collect a sufficient number of votes.
Here's an example using
beem
-The entry would look something like this -