14528 WITNESSES , 235725 ACCOUNTS ON STEEMIT. GREAT WORK STEEMIT COMMUNITY!!

in #steemit7 years ago (edited)

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

https://steemit.com/blog/@samuelgichu/232-387-user-accounts-on-steemit-at-12-00-noon-eat-steemit-is-growing-quite-fast

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

  1. wackou
  2. roadscape
  3. good-karma
  4. arhag
  5. smooth.witness 
  6. klye
  7. gtg 
  8. roelandp 
  9. abit 
  10. clayop 
  11. timcliff 
  12. furion 
  13. anyx 
  14. riverhead 
  15. witness.svk 
  16. pfunk 
  17. blocktrades 
  18. bhuz 
  19. xeldal 
  20. pharesim 
  21. jesta

IF YOU LIKE THE POST SHARE WITH YOUR FRIENDS BY RESTEEMING AND IF YOU HAVE ANY QUESTION OR A SUGGESTION YOU CAN WRITE ME UP ON THE COMMENT.


Sort:  

Wow, steemit is really growing. Thanks for the info🐓

You are welcome
I hope to share more concerning steemit very soon.

Very Knowledgeable Post. Keep Going on. One day you will be rock.I upvoted and followed.

Coin Marketplace

STEEM 0.20
TRX 0.14
JST 0.029
BTC 67343.52
ETH 3227.30
USDT 1.00
SBD 2.65