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.18
TRX 0.14
JST 0.030
BTC 60115.56
ETH 3203.28
USDT 1.00
SBD 2.46