You are viewing a single comment's thread from:

RE: HiveStats: Developer's Insight

in LeoFinance3 years ago

Hey, happy to hear that it works as you want it!

database_api.list_votes is the best I can find to get my current votes

I didn't use it much, just experimented with it. So, instead of getting account's upvotes, getting post's upvotes the way to go I believe. So, you have to call it for each post. get_content already has active_votes field, so you can use that instead. Only difference is, active_votes field is limited at 1000 votes while you can query more with list_votes method.

Sort:  
Loading...