如何使用steem python计算一个帖子的curation (2)?

Words
60
Reading
1 min
Listen
Play
8y

首先要读取帖子的所有信息,代码如下:

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 下面可以看到当前所有点赞人的具体信息

如何使用steem python计算一个帖子的curation (2)? | Ecency