IT'S FUN, IT'S EDUCATIVE.GET TO LEARN HOW YOU CAN CALCULATE THIS USING PYTHON CODING
ARE YOU EXCITED TO LEARN ABOUT THE STEEM-PYTHON API??
Last time i made a post on how to calculate the number of registered steemit users and how to install tools needed to perform this calculations. If you had not read about it you could check the tutorial here
https://steemit.com/blog/@samuelgichu/232-387-user-accounts-on-steemit-at-12-00-noon-eat-steemit-is-growing-quite-fast
Today i am going to show you another way you can use the steem-python api to your advantage and have fun while doing so.
Lets calculate how many witnesses exist on steemit
I hope you have installed python3 in your computer, if not you can check this out to help you install python3
Let us begin!!
# run python 3 in your Terminal/command prompt
# Let us calculate how many steemit witnesses exist on steemit
>>> from steem import Steem #import the class Steem from steem library
>>> b = Steem() #create an instance of the class Steem
>>> b.get_witness_count() #call method get_witness_count()
14528
# We can also go ahead and find the active witnesses on steemit.
Finding the active witnesses on steemit could come handy while voting for your steemit witnesses.
To vote for your witness,
- Login to steemit account and go to options(RIGHT MOST CORNER,NEXT TO YOU PROFILE PICTURE)
- Select vote for Witnesses.
# Let us find the active witnesses using code
>>> from steem import Steem #import the class Steem from steem library
>>> b = Steem() #create an instance of the class Steem
>>> b.get_active_witnesses() #call method get_witness_count()
['wackou', 'roadscape', 'good-karma', 'arhag',
'smooth.witness', 'klye', 'gtg',
'roelandp', 'abit', 'clayop', 'timcliff',
'furion', 'anyx', 'riverhead', 'witness.svk',
'pfunk', 'blocktrades', 'bhuz', 'xeldal',
'pharesim', 'jesta']
>>>
HERE IS THE LIST OF ACTIVE WITNESSES
- wackou
- roadscape
- good-karma
- arhag
- smooth.witness
- klye
- gtg
- roelandp
- abit
- clayop
- timcliff
- furion
- anyx
- riverhead
- witness.svk
- pfunk
- blocktrades
- bhuz
- xeldal
- pharesim
- jesta
Wow, steemit is really growing. Thanks for the info🐓
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
You are welcome
I hope to share more concerning steemit very soon.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Very Knowledgeable Post. Keep Going on. One day you will be rock.I upvoted and followed.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Thanks @malay11
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit