@dailyupvotes Python quick-sender

chitty(69)
Published in
#python
Words
132
Reading
1 min
Listen
Play
9y

U5dsPn3bBj82qy7v5PsBEWCPSv8bWng.gif

Hello again,

Today I wanted to share a neat piece of code that has saved me a lot of time when sending bids to my favorite upvote bot.

Now, the config is set up to send 1 SBD to dailyupvotes@dailyupvotes, but you can set it up for another Bot and a different amount if you wish, you only have to change the variables in the script.

Like in the other guides, you first start by creating the python file:

sudo nano dailyupvotes.py

You then paste this code:

from steem import Steem
s = Steem(keys=["YOUR ACTIVE KEY", "YOUR MEMO KEY"])
print ("welcome to dailyupvotes")
memo = input("Please provide the URL of your Post: ")
s.commit.transfer(
    "dailyupvotes", 
    1.00, 
    "SBD", 
    memo= memo, 
    account="YOUR ACCOUNT"
)
print ("your post has been succesfully submitted, thank you for using our services")

To execute you type:

python3 dailyupvotes.py

The outcome should be something like this:

Captura de pantalla 2018-03-13 a la(s) 16.46.34.png

With this script you can send bids to your favorite upvote bot in literally seconds!

Enjoy!

PS: Make sure you have the python-steem module installed, you can find emrebeyler@emrebeyler library here: https://github.com/emre/steem-python-dshot

@dailyupvotes Python quick-sender | Ecency