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.
WTF!!