You are viewing a single comment's thread from:

RE: Getting Started With Steem-Python : Upvote and Comment Bot Examples (Linux)

in #steemdev7 years ago

I still don't understand something about this API although i haven't put it in action, I've been to the steemit documentation before seeing your post

from steem import Steem
from steem.post import Post
#Here we are importing the required libraries needed for this task

s = Steem(keys = ["your private posting key"])
#so here we created a steem instance with our private posting key, i also noticed it's a list why ?

post.vote(10.0, "your steemit username")
#we just skipped to the post function, does the post.vote(float, string) just link from the instance to use your account to post

Also what if i want to upvote a particular vote by supplying its link

I know there are lots of errors here :)