首先要读取帖子的所有信息,代码如下:
import json
from steem.post import Post
post = Post('python-dev/steem-python-curation-1')
# write post data
with open('post_data.json', 'w') as fp:
json.dump(post,fp, indent=4,default=str)
在‘active_votes’ key 下面可以看到当前所有点赞人的具体信息
代码非常简洁啊,点赞信息里面只有 rshare的信息,rshare跟SP是什么关系? 如何计算?期待下一步的计算代码。
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Congratulations @python-dev! You have completed the following achievement on the Steem blockchain and have been rewarded with new badge(s) :
You got your First payout
Award for the number of upvotes received
Click on the badge to view your Board of Honor.
If you no longer want to receive notifications, reply to this comment with the word
STOP
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit