Bot upvote ta explains how whales appear.

in steemit •  8 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.

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

WTF!!