首先要读取帖子的所有信息,代码如下:
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 下面可以看到当前所有点赞人的具体信息