Steem Piston Tutorial – Accounts

Assumptions: You have Python3 installed with Steem Piston libraries

Good evening. Today, I will give you a quick tutorial on how to gather account metadata from the Steem blockchain. It’s really quite simple.

1. First obtain the account object into a variable.

>>> from piston.account import Account
>>> account= Account(“trump3t”)

2. From there, you can use the dir command to get a list of attributes and methods. There is a lot of helpful information.

>>> dir(account)
3. Now, we will access the data we want. In this case, I will be getting the Steem Power of the account.

>>> account.sp

This is my first tutorial on Steemthat and I plan on creating more advanced tutorials down the road. Hope you enjoyed!

If you appreciated this post, feel free to leave a tip. Thanks for reading!

BTC wallet: 3Hs1fxhLtEQHC18ejFzcNMebRZwoBVrUQv
ETH: 0xaC8920ACaD58C40c46B75E13957605c72770C2Ca
LTC wallet: LfP1he2KyZzGJYXwbSNdfLZ6wUNL71nBvt
DOGE wallet: DNAQbrku7HmxDSX8RayHp6cv4mum5XGERe
DASH wallet: XbfzvP7Jt3LaMe2x1ho97uJp4TdfiZ9C1W
BLK: BBXcqjeqYdREt9ExSN6jduL7kEh6YjY2RF
MEME: PQwuwC3erX2CWxKFhzpiTPHxxf4vyX2fek

About the author: anthonyadavisii

SteemThat Advisor - Stish Holder - Steem Flag Rewards Founder - Trump3t Creator - Minnow / Plankton Advocate