如何使用steem python计算一个帖子的curation (2)?python-dev (58)in #python • 8 years ago 首先要读取帖子的所有信息,代码如下: 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是什么关系? 如何计算?期待下一步的计算代码。
Congratulations @python-dev! You have completed the following achievement on the Steem blockchain and have been rewarded with new badge(s) :
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