Simple Steem-Python Scripts
I have recently gone over some of @emrebeyler ´s tutorials for using the Steem-Python library to interact with the Steem Blockchain and I wanted to share a simple script for searching the reputation and voting power of an account.
First, you would need to install Steem-Python, I recommend using @emrebeyler fork as it provides many fixes and its kept updated, you can find it here: https://github.com/emre/steem-python-dshot
[quick note: I used pip3 for it to install]
Once you have installed the library, all you have to is create a python file:
sudo nano accountinfo.py
And write this piece of code inside it:
from steem.account import Account
account = input("name of your account: ")
print ("your reputation is ", Account(account).rep)
print("your voting power is ", Account(account).current_voting_power())
Close the editor with ctr + x and run the code typing:
python3 accountinfo.py
The result should look something like this:
Give it a try!
I will try this, I pray it works
Should work!
OMG..... This is superb
Very good FOLLOW @ajaa23 yes
If i may ask, whats the essence of doing this?
This magical code is very useful thanks for this kind information I will remember you @chitty
muy buena esta imformacion te felicito.
podrias ayudarme, no entiendo mucho como es.