jsup 2.1 - investor's relief (experiment on separation of investment and SNS)

by joviansummer original STEEMIT post: https://steemit.com/blog/@joviansummer/jsup-2-1-investor-s-relief-experiment-on-separation-of-investment-and-sns Hello, this is @joviansummer(witness: @jswit). I'm starting a new experiment regarding my @jsup vote service. The purpose of this experiment is to separate STEEM investment and social interaction(posting/commenting). For many people, writing a post daily(literally 365 posts per year) is not easy. It's not fun, and mandatory daily post only written for self-voting delegation service tends to result in useless low-quality content. I hope this new function of @jsup will reduce those posts, and also make it a bit more easy to invest in STEEM without worrying about daily posting. I think pressure of daily posting significantly undermines Steem as SNS. It's not fun. This is how it works: From 11:45 PM to 11:50 PM every night(reference time zone is GMT+9), @jsup checks if eligible delegators wrote something and received daily v...

파이썬(steem-python)을 이용한 포스팅 - 커뮤니티 포스트

by joviansummer
original STEEMIT post: https://steemit.com/blog/@joviansummer/2paapu-steem-python


steem-python을 이용해서 커뮤니티(community)에 포스팅을 하는 방법입니다. 이전에 포스팅했던 내용에서 이어집니다. 아래의 링크를 참고해 주시기 바랍니다.

파이썬(steem-python)을 이용한 포스팅 - 블로그
https://steemit.com/hive-141029/@joviansummer/4ykub6-steem-python

파이썬(steem-python)을 이용한 포스팅 - 댓글
https://steemit.com/hive-141029/@joviansummer/3hmhwi-steem-python

커뮤니티에 포스팅하는 코드는 블로그 포스팅과 댓글 포스팅을 조합한 형태가 됩니다. 댓글이 아니기 때문에 제목(title)과 태그(tags)를 지정하는데, 커뮤니티 지정은 댓글에서 사용했던 "reply_identifier"를 사용하게 됩니다.

커뮤니티 포스팅을 위한 reply_identifier는 "/커뮤니티_식별자" 형태입니다. 커뮤니티 식별자는 스팀잇에서 대상 커뮤니티에 들어갔을 때 접속 주소(url)에서 볼 수 있습니다. "hive-" 문자열로 시작하며 뒤에 수자가 이어집니다.

예를 들어 "Trekking-Landscape" 커뮤니티의 식별자는 "hive-195521"입니다. steem-python으로 이 커뮤니티에 포스팅하려면 reply_identifier는 "/hive-195521"로 지정합니다.

코드 예시를 보겠습니다.

from steem import Steem

# 포스팅키
posting_key = "5XXXXXX...."
# 작성자 ID
steem_id = "joviansummer"
# 제목
title = "TL커뮤니티에 포스팅합니다."
# 본문
body = "본문 첫번째 줄입니다.\n본문 2번째 줄입니다."
# 태그
tag_list = "kr krsuccess"
# 커뮤니티 식별자: Trekking-Landscape
community_id = "/hive-195521"

# 포스팅하기
s = Steem(keys=[posting_key])
s.commit.post(title=title, body=body, author=steem_id, tags=tag_list, reply_identifier=community_id)

Comments

Popular posts from this blog

스티미언의 영향력 지수 계산

jsup/avle code update - you don't have to write post everyday

jsup/avle 보팅 코드 갱신 - 1일1포스팅 강박에서 벗어나기