You are viewing a single comment's thread from:

RE: [Changelog] Piston 0.3

in #piston8 years ago

@xeroc Thank you for your work.

Can you help me?

myvar = steem.get_content("my_permlink")

When I load the post , I can get information from the variable - class.
For example:
print(myvar.author) or print(myvar.pending_payout_value)

How can I access to data and time - when post was created? Not myvar.active
myvar. ???

And yet .. How can I find out the number of comments in current post ? I want to calculate (to know) how many comments a post has . But I can not find anything .
myvar. ??

Thanks.

Sort:  

this this print(vars(myvar)). It will show all the available attributes

Coin Marketplace

STEEM 0.17
TRX 0.13
JST 0.027
BTC 58397.49
ETH 2619.60
USDT 1.00
SBD 2.42