Posts

Showing posts with the label comment

파이썬 beem의 Comment 객체에서 조회 가능한 키(key) 목록

by joviansummer original STEEMIT post: https://steemit.com/blog/@joviansummer/beem-comment-key 우선 파이선 beem의 Comment 객체를 이용한 포스트 정보 조회 예시는 아래의 링크를 참고하시기 바랍니다. 파이썬 beem에서 특정 포스트의 작성 시간과 수정 시간 확인 Comment 객체에서 조회 가능한 키(key) 목록은 아래와 같은 코드를 이용해서 확인해 볼 수 있습니다. from beem import Steem from beem.comment import Comment node_list = ['https://api.steemit.com'] steem = Steem(node=node_list) authorperm = 'joviansummer/b01bb' comment = Comment(authorperm, blockchain_instance=steem) for key in comment: print(key) 위의 코드를 실행해서 아래와 같은 결과를 얻을 수 있습니다. post_id author permlink category title body json_metadata created last_update depth children net_rshares last_payout cashout_time total_payout_value curator_payout_value pending_payout_value promoted replies body_length active_votes author_reputation parent_author parent_permlink url root_title beneficiaries max_accepted_payout percent_steem_dollars authorperm tags community 각 항목은 필요할 경우 반환되는 데이터 형식을 ...