just change to retrieval from hive to hive buzz api.
Started with directly from the hive beem library. But i do not understand how to calculate the author rewards and curation rewards without pulling all the history. So changed to hive buzz api to be inline with what azircon uses.
hope this is more accurate.
I really struggled to get it using python, whether it be via the Condenser API or the deprecated BEEM. All I got was bad figures and the documentation anD examples suck!
HIVE-SQL..
SELECT curation_rewards/1000.0, posting_rewards/1000.0 FROM accounts WHERE name = '{account}'
It's periodically updated and added to the accounts table, so you are not trawling through data (which takes ages!).
You can call this via Python using the pypyodbc libary.
Cool will look into that library, i guess the stats from hive buzz are accurate enough for now.
Yeah, whatever works for you. Great to see a website, kudos for doing it!..and please do a post about this, your creation. I will make sure its seen.
Wow wow wow, what a great library much better than beem...
Jumping some hoops with odbc libraries but then 💪
For now only used for accounts but great experience, will be using this one more often😍