Bot upvote ta explains how whales appear.

in #steemit8 years ago (edited)

Bot Upvote in less than 10 lines of code

from piston.steem import Steem
import os
import json
steem = Steem (wif = os.environ [ "WIF"])
authors = json.loads (os.environ [ "AUTHORS"])
c is in steem.stream_comments ():
if c ["author"] in authors:
print (c.upvote ())

He reqquires you put your key WIF and authors JSON list in a
environment variable:

export WIF = "<wif-posting-key>" AUTHORS = '[ "xeroc", "dantheman" "ned", "arhag"]'
Notice

This time requries you install python-esteem library and piston development branch.

Coin Marketplace

STEEM 0.28
TRX 0.26
JST 0.039
BTC 94897.80
ETH 3393.66
USDT 1.00
SBD 3.40