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)에서 api 서버 설정

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


steem-python에서 통신할 api 서버를 직접 지정할 수 있습니다. 기본값은 api.steemit.com입니다만, 실행할 파이썬 프로세스에서 특정 api 서버를 사용할 수 있도록 직접 설정이 가능합니다.

아래의 예시와 같이 할 수 있습니다.

from steem.steemd import Steemd
from steem.instance import set_shared_steemd_instance
steemd_nodes = ['https://api.steemit.com','api.steemyy.com']
set_shared_steemd_instance(Steemd(nodes=steemd_nodes))

위의 코드에서 steemd_nodes 리스트에 사용할 api 서버를 지정해 줍니다. 리스트 형태이므로 2개 이상을 지정할 수 있습니다. 여기서는 api.steemit.com과 api.steemyy.com을 사용하도록 설정하였습니다.

코드 처음 부분에 이렇게 설정하고 작성을 하면 steem-python의 api 요청을 처리할 때 지정된 api 서버와 통신을 하게 됩니다.

공개된 서버 목록은 스팀 개발자 웹사이트에 나와 있습니다. 아래의 링크에서 public nodes 항목을 보면 됩니다.

https://developers.steem.io/quickstart/

Comments

Popular posts from this blog

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

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

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