create account

Search Accounts Tutorial by veryjerry3

View this thread on: hive.blogpeakd.comecency.com
· @veryjerry3 ·
$3.96
Search Accounts Tutorial
This week I have worked on a search accounts tutorial and it is basically a showcase of python's get_all_accounts function for hive. 

The code starts off by the user inputting an account and a number of accounts to show. Then the function get_all_accounts is used to make an array of an inputted number of accounts in alphabetical order which is then printed to the terminal.

![image.png](https://files.peakd.com/file/peakd-hive/veryjerry3/23tRv7QKmbMbbvXHRqCX9Z6ccGW46PEGRuD4DYGmfWQUbNs3gAuLegsAC59WuXWKbte7H.png)

![image.png](https://files.peakd.com/file/peakd-hive/veryjerry3/Eo44nS21J2EZyWPUYNKQ9UVTjXYNFgsVAeSdsK1m6n3d57ZGBDdrSLhE3utMaoJQMko.png)

In this tutorial, there is also search trending tags option where you look up the tabs the same way as the account, but the only tabs that are shown are trending tabs.

![image.png](https://files.peakd.com/file/peakd-hive/veryjerry3/23tRt94s61qpUVDUEjU3XgsxRq8HNNiUPCxkPXCR3izczrgb9GZnZvaGBpSAQchMsWJwS.png)

As said before, it has been a very interesting look at these functions. This could possibly be used to do things for a specific list of users or specific tags.
👍  , , , , , ,
properties (23)
authorveryjerry3
permlinksearch-accounts-tutorial
categorygradnium
json_metadata{"app":"peakd/2022.02.6","format":"markdown","tags":["gradnium","vyb","pob","eee-4010","spring2022","python","weekly-activity","hive-devs","tutorial"],"users":[],"image":["https://files.peakd.com/file/peakd-hive/veryjerry3/23tRv7QKmbMbbvXHRqCX9Z6ccGW46PEGRuD4DYGmfWQUbNs3gAuLegsAC59WuXWKbte7H.png","https://files.peakd.com/file/peakd-hive/veryjerry3/Eo44nS21J2EZyWPUYNKQ9UVTjXYNFgsVAeSdsK1m6n3d57ZGBDdrSLhE3utMaoJQMko.png","https://files.peakd.com/file/peakd-hive/veryjerry3/23tRt94s61qpUVDUEjU3XgsxRq8HNNiUPCxkPXCR3izczrgb9GZnZvaGBpSAQchMsWJwS.png"]}
created2022-03-21 04:16:27
last_update2022-03-21 04:16:27
depth0
children0
last_payout2022-03-28 04:16:27
cashout_time1969-12-31 23:59:59
total_payout_value1.982 HBD
curator_payout_value1.980 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length1,124
author_reputation445,656,786,628
root_title"Search Accounts Tutorial"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id111,541,296
net_rshares3,181,970,358,050
author_curate_reward""
vote details (7)