GentBG x PUSSTEEM - burning both STEEM and PUSS

Image
by joviansummer original STEEMIT post: https://steemit.com/blog/@joviansummer/gentbg-x-pussteem-burning-both-steem-and-puss Hello, this is @joviansummer(witness: @jswit), developer of GentBG project. I registered @gentbg account to PUSSTEEM about a week ago and donated some of my own PUSS token to @gentbg's EPUSS account. Now, @gentbg will burn STEEM and EPUSS at the same time. PUSSTEEM's boosting upvotes will help increasing baseline burning significantly. @gentbg's SP reward is delegate to @jsup to get automated upvotes, forming a baseline burning of liquid reward independent of other people's upvotes. Some may argue 100%(both liquid and SP reward) burning is much better, but I chose this approach to prevent @gentbg from becoming a spamming account. Constantly asking for upvotes via mentioning and commenting every week may eventually become a big annoyance to curators. That being said, anyone is welcome to participate in countering STEEM inflation by giving upvotes ...

파이썬(steem-python)을 이용한 포스팅 - 블로그

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


steem-python을 이용해서 스팀잇에 포스팅을 할 수 있습니다. 우선 가장 간단한 블로그 포스팅을 보겠습니다.

Steem 객체를 사용하며 포스팅키(private posting key)가 필요합니다.

from steem import Steem

# 포스팅키
posting_key = "5XXXXXX...."
# 작성자 ID
steem_id = "joviansummer"
# 제목
title = "포스팅합니다."
# 본문
body = "본문 첫번째 줄입니다.\n본문 2번째 줄입니다."
# 태그
tag_list = "kr krsuccess"

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

위와 같이 하면 joviansummer의 블로그(blog)에 포스트를 전송합니다. 위의 예시에서 변수 body를 보면 본문이 여러줄로 되어 있을 경우 "\n"으로 줄바꿈을 해 주는 것을 알 수 있습니다.

이미지 추가는 위의 방법으로 할 수 없으며, 이미 올려져 있는 이미지의 링크를 사용해야 합니다.

steem-python 문서(https://steem.readthedocs.io/en/latest/를 보면 커뮤니티를 지정할 때 post()에 community="커뮤니티 이름" 이런 식으로 지정할 수 있다고 나와 있는데, 실험해 본 바에 의하면 이렇게 해도 커뮤니티에 포스팅이 되지 않습니다. 이 부분은 추후에 별도로 포스팅하겠습니다.

Comments

Popular posts from this blog

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

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

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