You are viewing a single comment's thread from:
RE: Steemit API + Python: Calculate Your Steemit Spending!
Just query for author_reward
ops.
[7579, {'block': 19557607, 'op': ['author_reward', {'author': 'makerhacks', 'permlink': 'getstartedwiththeinternetofthingswithanesp8266iotsensortimer2l7cfpzml5', 'sbd_payout': '19.577 SBD', 'steem_payout': '0.000 STEEM', 'vesting_payout': '8704.567300 VESTS'}], 'op_in_trx': 1, 'timestamp': '2018-02-03T22:12:03', 'trx_id': '0000000000000000000000000000000000000000', 'trx_in_block': 51, 'virtual_op': 0}],
You will need to use the converter class to convert the vests to SP to make more sense of it.
How do you do that?
You can only grab 10,000 at a time with get_account_history, but you can walk them. Or you can use SteemData.
I need to look at SteemData, seems the right approach
I've been using it far more lately, I usually just use python but I'm starting to love it. You can also use SteemSQL which uses SQL instead of MongoDB.
I estimated the relation between vests and Steem by a linear approximation. You can find my python code here: https://steemit.com/steemdev/@holger80/how-to-estimate-historic-steempermvests-values-for-converting-old-rewards-from-vest-to-steem