 ## Repository ### steem-ruby Project Name: Steem Ruby Repository: https://github.com/steemit/steem-ruby ### radiator Project Name: Radiator Repository: https://github.com/inertia186/radiator ## What Will I Learn? This tutorial shows how to interact with the Steem blockchain and Steem database using Ruby. When using Ruby you have two APIs available to chose: **steem-api** and **radiator** which differentiates in how return values and errors are handled: * **steem-api** uses closures and exceptions and provides low level computer readable data. * **radiator** uses classic function return values and provides high level human readable data. Since both APIs have advantages and disadvantages I have provided sample code for both APIs so you can decide which is more suitable for you. ## Requirements You should have basic knowledge of Ruby programming and have an up to date ruby installed on your computer. If there is anything not clear you can ask in the comments. ## Difficulty Provided you have some programming experience this tutorial is **basic level**. ## Preparations In order to use the provided sample you need to install the following ruby gems: ```sh gem install bundler gem install colorize gem install steem-ruby gem install radiator ``` **Note:** Both steem-ruby and radiator provide a file called `steem.rb`. This means that: 1. When you install both APIs you need to tell ruby which one to use. 2. You can't use both APIs in the same script. ## Tutorial Contents In this first part of the tutorial we I demonstrate how to print out account informations from a list of accounts passed on command line. The data is taken from the Steem database. As mentioned there will be two examples and both samples are complete with error handling. I do this because error handling is one of the areas where steem-api and radiator differ and also it's always good to learn how to handle error condition correctly. ## Implementation using steem-ruby First I show you how to get the account informations using steem-ruby. I called the script [Steem-Dump-Accounts.rb](https://github.com/krischik/SteemRubyTutorial/blob/master/Scripts/Steem-Dump-Accounts.rb) as the output is more low level. Check out the comments in the sample code for details. Make the script executable under Unix. Of course you need to add the correct path to your ruby executable. ```ruby #!/opt/local/bin/ruby ``` Use the "steem.rb" file from the steem-ruby gem. This is only needed if you have both steem-api and radiator installed. ```ruby gem "steem-ruby", :require => "steem" require 'pp' require 'colorize' require 'steem' if ARGV.length == 0 then puts """ Steem-Dump-Accounts — Dump account infos from Steem database Usage: Steem-Dump-Accounts accountname … """ else ``` read arguments from command line ```ruby Account_Names = ARGV ``` create an instance to the steem database API ```ruby Database_Api = Steem::DatabaseApi.new ``` request account informations from the Steem database and print out the accounts found using pretty print (pp) or print out error informations when an error occurred. ```ruby Database_Api.find_accounts(accounts: Account_Names) do |result| Accounts = result.accounts if Accounts.length == 0 then puts "No accounts found.".yellow else pp Accounts end rescue => error puts "Error reading accounts:".red pp error end end ``` **Hint:** opening [Steem-Dump-Accounts.rb on GitHub](https://github.com/krischik/SteemRubyTutorial/blob/master/Scripts/Steem-Dump-Accounts.rb) will give you a nice display with syntax highlight. The output of the command (for the steemit account) looks like this: ``` >ruby Steem-Dump-Accounts.rb steemit [{"id"=>28, "name"=>"steemit", "owner"=> {"weight_threshold"=>1, "account_auths"=>[], "key_auths"=> [["STM6Ezkzey8FWoEnnHHP4rxbrysJqoMmzwR2EdoD5p7FDsF64qxbQ", 1], ["STM7TCZKisQnvR69CK9BaL6W4SJn2cXYwkfWYRicoVGGzhtFswxMH", 1]]}, "active"=> {"weight_threshold"=>1, "account_auths"=>[], "key_auths"=> [["STM5VkLha96X5EQu3HSkJdD8SEuwazWtZrzLjUT6Sc5sopgghBYrz", 1], ["STM7u1BsoqLaoCu9XHi1wjWctLWSFCuvyagFjYMfga4QNWEjP7d3U", 1]]}, "posting"=> {"weight_threshold"=>1, "account_auths"=>[], "key_auths"=> [["STM6kXdRbWgoH9E4hvtTZeaiSbY8FmGXQavfJZ2jzkKjT5cWYgMBS", 1], ["STM6tDMSSKa8Bd9ss7EjqhXPEHTWissGXJJosAU94LLpC5tsCdo61", 1]]}, "memo_key"=>"STM5jZtLoV8YbxCxr4imnbWn61zMB24wwonpnVhfXRmv7j6fk3dTH", "json_metadata"=>"", "proxy"=>"", "last_owner_update"=>"2018-05-31T23:32:06", "last_account_update"=>"2018-05-31T23:32:06", "created"=>"2016-03-24T17:00:21", "mined"=>true, "recovery_account"=>"steem", "last_account_recovery"=>"1970-01-01T00:00:00", "reset_account"=>"null", "comment_count"=>0, "lifetime_vote_count"=>0, "post_count"=>1, "can_vote"=>true, "voting_manabar"=> {"current_mana"=>"84785778120382011", "last_update_time"=>1547781042}, "balance"=>{"amount"=>"2", "precision"=>3, "nai"=>"@@000000021"}, "savings_balance"=>{"amount"=>"0", "precision"=>3, "nai"=>"@@000000021"}, "sbd_balance"=>{"amount"=>"8716549", "precision"=>3, "nai"=>"@@000000013"}, "sbd_seconds"=>"7108510241427", "sbd_seconds_last_update"=>"2019-01-22T14:09:18", "sbd_last_interest_payment"=>"2019-01-13T03:37:18", "savings_sbd_balance"=>{"amount"=>"0", "precision"=>3, "nai"=>"@@000000013"}, "savings_sbd_seconds"=>"0", "savings_sbd_seconds_last_update"=>"1970-01-01T00:00:00", "savings_sbd_last_interest_payment"=>"1970-01-01T00:00:00", "savings_withdraw_requests"=>0, "reward_sbd_balance"=>{"amount"=>"1", "precision"=>3, "nai"=>"@@000000013"}, "reward_steem_balance"=> {"amount"=>"359", "precision"=>3, "nai"=>"@@000000021"}, "reward_vesting_balance"=> {"amount"=>"730389810", "precision"=>6, "nai"=>"@@000000037"}, "reward_vesting_steem"=> {"amount"=>"363", "precision"=>3, "nai"=>"@@000000021"}, "vesting_shares"=> {"amount"=>"84785778120382011", "precision"=>6, "nai"=>"@@000000037"}, "delegated_vesting_shares"=> {"amount"=>"0", "precision"=>6, "nai"=>"@@000000037"}, "received_vesting_shares"=> {"amount"=>"0", "precision"=>6, "nai"=>"@@000000037"}, "vesting_withdraw_rate"=> {"amount"=>"6505147286153846", "precision"=>6, "nai"=>"@@000000037"}, "next_vesting_withdrawal"=>"2019-01-27T05:34:06", "withdrawn"=>0, "to_withdraw"=>"84566914720000000", "withdraw_routes"=>4, "curation_rewards"=>0, "posting_rewards"=>3548, "proxied_vsf_votes"=>["14511431797", 0, 0, 0], "witnesses_voted_for"=>0, "last_post"=>"2016-03-30T18:30:18", "last_root_post"=>"2016-03-30T18:30:18", "last_vote_time"=>"2016-12-04T23:10:57", "post_bandwidth"=>0, "pending_claimed_accounts"=>0, "is_smt"=>false}] ``` ## Steem-Print-Accounts.rb using radiator Next I show you how to get the account informations using radiator. I called the script [Steem-Print-Accounts.rb](https://github.com/krischik/SteemRubyTutorial/blob/master/Scripts/Steem-Print-Accounts.rb) as the output is more high level. Check out the comments in the sample code for details. The one thing I would like to point it the use of an error attribute for error handling which is a bit awkward to use and leads to a rather ugly `Result.result` construct. ```Ruby #!/opt/local/bin/ruby ``` use the steem.rb file from the radiator gem. This is only needed if you have both steem-api and radiator installed. ```ruby gem "radiator", :require => "steem" require 'pp' require 'colorize' require 'radiator' if ARGV.length == 0 then puts """ Steem-Print-Accounts — Print account infos from Steem database Usage: Steem-Print-Accounts account-name … """ else ``` read arguments from command line ```ruby Account_Names = ARGV ``` create instance to the steem database API ```ruby Database_Api = Radiator::DatabaseApi.new ``` request account informations from the steem database and print out the accounts found using pretty print (pp) or print out error informations when an error occurred. ```ruby Result = Database_Api.get_accounts(Account_Names) if Result.key?('error') then puts "Error reading accounts:".red pp Result.error elsif Result.result.length == 0 then puts "No accounts found.".yellow else pp Result.result end end ``` **Hint:** opening [Steem-Print-Accounts.rb on GitHub](https://github.com/krischik/SteemRubyTutorial/blob/master/Scripts/Steem-Print-Accounts.rb) will give you a nice display with syntax highlight. The output of the command (for the steemit account) looks like this. Do note how all the balances are reformatted to be human readable and that there are 10 additional attributes at the end. ``` >ruby Steem-Print-Accounts.rb steemit [{"id"=>28, "name"=>"steemit", "owner"=> {"weight_threshold"=>1, "account_auths"=>[], "key_auths"=> [["STM6Ezkzey8FWoEnnHHP4rxbrysJqoMmzwR2EdoD5p7FDsF64qxbQ", 1], ["STM7TCZKisQnvR69CK9BaL6W4SJn2cXYwkfWYRicoVGGzhtFswxMH", 1]]}, "active"=> {"weight_threshold"=>1, "account_auths"=>[], "key_auths"=> [["STM5VkLha96X5EQu3HSkJdD8SEuwazWtZrzLjUT6Sc5sopgghBYrz", 1], ["STM7u1BsoqLaoCu9XHi1wjWctLWSFCuvyagFjYMfga4QNWEjP7d3U", 1]]}, "posting"=> {"weight_threshold"=>1, "account_auths"=>[], "key_auths"=> [["STM6kXdRbWgoH9E4hvtTZeaiSbY8FmGXQavfJZ2jzkKjT5cWYgMBS", 1], ["STM6tDMSSKa8Bd9ss7EjqhXPEHTWissGXJJosAU94LLpC5tsCdo61", 1]]}, "memo_key"=>"STM5jZtLoV8YbxCxr4imnbWn61zMB24wwonpnVhfXRmv7j6fk3dTH", "json_metadata"=>"", "proxy"=>"", "last_owner_update"=>"2018-05-31T23:32:06", "last_account_update"=>"2018-05-31T23:32:06", "created"=>"2016-03-24T17:00:21", "mined"=>true, "recovery_account"=>"steem", "last_account_recovery"=>"1970-01-01T00:00:00", "reset_account"=>"null", "comment_count"=>0, "lifetime_vote_count"=>0, "post_count"=>1, "can_vote"=>true, "voting_manabar"=> {"current_mana"=>"84785778120382011", "last_update_time"=>1547781042}, "voting_power"=>0, "balance"=>"0.002 STEEM", "savings_balance"=>"0.000 STEEM", "sbd_balance"=>"8716.549 SBD", "sbd_seconds"=>"7108510241427", "sbd_seconds_last_update"=>"2019-01-22T14:09:18", "sbd_last_interest_payment"=>"2019-01-13T03:37:18", "savings_sbd_balance"=>"0.000 SBD", "savings_sbd_seconds"=>"0", "savings_sbd_seconds_last_update"=>"1970-01-01T00:00:00", "savings_sbd_last_interest_payment"=>"1970-01-01T00:00:00", "savings_withdraw_requests"=>0, "reward_sbd_balance"=>"0.001 SBD", "reward_steem_balance"=>"0.359 STEEM", "reward_vesting_balance"=>"730.389810 VESTS", "reward_vesting_steem"=>"0.363 STEEM", "vesting_shares"=>"84785778120.382011 VESTS", "delegated_vesting_shares"=>"0.000000 VESTS", "received_vesting_shares"=>"0.000000 VESTS", "vesting_withdraw_rate"=>"6505147286.153846 VESTS", "next_vesting_withdrawal"=>"2019-01-27T05:34:06", "withdrawn"=>0, "to_withdraw"=>"84566914720000000", "withdraw_routes"=>4, "curation_rewards"=>0, "posting_rewards"=>3548, "proxied_vsf_votes"=>["14511431797", 0, 0, 0], "witnesses_voted_for"=>0, "last_post"=>"2016-03-30T18:30:18", "last_root_post"=>"2016-03-30T18:30:18", "last_vote_time"=>"2016-12-04T23:10:57", "post_bandwidth"=>0, "pending_claimed_accounts"=>0, "vesting_balance"=>"0.000 STEEM", "reputation"=>"12944616889", "transfer_history"=>[], "market_history"=>[], "post_history"=>[], "vote_history"=>[], "other_history"=>[], "witness_votes"=>[], "tags_usage"=>[], "guest_bloggers"=>[]}] ``` # Curriculum ## First tutorial [Using Steem-API with Ruby Part 1](https://steemit.com/@krischik/using-steem-api-with-ruby-part-1) ## Previous tutorial [Using Steem-API with Ruby Part 1](https://steemit.com/@krischik/using-steem-api-with-ruby-part-1) ## Next tutorial [Using Steem-API with Ruby Part 2](https://steemit.com/@krischik/using-steem-api-with-ruby-part-2) ## Proof of Work Done https://github.com/krischik/SteemRubyTutorial <center>        </center>
author | krischik |
---|---|
permlink | using-steem-api-with-ruby-part-1 |
category | utopian-io |
json_metadata | {"community":"steempeak","app":"steempeak","format":"markdown","tags":["utopian-io","tutorials","ruby","steem-api","programming"],"users":["000000021","000000013","000000037","krischik"],"links":["https://github.com/steemit/steem-ruby","https://github.com/inertia186/radiator","https://github.com/krischik/SteemRubyTutorial/blob/master/Scripts/Steem-Dump-Accounts.rb","https://github.com/krischik/SteemRubyTutorial/blob/master/Scripts/Steem-Dump-Accounts.rb","https://github.com/krischik/SteemRubyTutorial/blob/master/Scripts/Steem-Print-Accounts.rb","https://github.com/krischik/SteemRubyTutorial/blob/master/Scripts/Steem-Print-Accounts.rb","https://steemit.com/@krischik/using-steem-api-with-ruby-part-1","https://steemit.com/@krischik/using-steem-api-with-ruby-part-1","https://steemit.com/@krischik/using-steem-api-with-ruby-part-2","https://github.com/krischik/SteemRubyTutorial"],"image":["https://steemitimages.com/500x270/http://ipfs.busy.org/ipfs/Qmb2hiQCAWohe59NoRHxZXE4X5ok29ZRmNETGHE8qZdwQR","https://steemitimages.com/50x60/http://steemitboard.com/@krischik/Comments.png","http://steemitimages.com/60x70/http://steemitboard.com/@krischik/Votes.png","http://steemitimages.com/70x80/http://steemitboard.com/@krischik/Posts.png","http://steemitimages.com/100x80/http://steemitboard.com/@krischik/Level.png","http://steemitimages.com/70x80/http://steemitboard.com/@krischik/Payout.png","http://steemitimages.com/60x70/http://steemitboard.com/@krischik/Commented.png","https://steemitimages.com/50x60/http://steemitboard.com/@krischik/voted.png"]} |
created | 2019-01-23 20:27:33 |
last_update | 2019-01-29 10:00:09 |
depth | 0 |
children | 9 |
last_payout | 2019-01-30 20:27:33 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 12.696 HBD |
curator_payout_value | 4.209 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 12,784 |
author_reputation | 15,247,708,436,415 |
root_title | "Using Steem-API with Ruby Part 1 — Print Account Info" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 0 |
post_id | 78,832,530 |
net_rshares | 34,283,066,690,242 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
tombstone | 0 | 2,177,153,765,134 | 9.9% | ||
inversion | 0 | 0 | 100% | ||
cmp2020 | 0 | 8,513,655,288 | 25% | ||
rufans | 0 | 11,138,431,908 | 100% | ||
etcmike | 0 | 17,937,256,740 | 10% | ||
remlaps1 | 0 | 16,881,274,041 | 25% | ||
cub1 | 0 | 66,814,728,867 | 25% | ||
remlaps2 | 0 | 882,646,002 | 25% | ||
lisa.palmer | 0 | 1,001,731,337 | 25% | ||
cub2 | 0 | 926,977,117 | 25% | ||
astronomyizfun | 0 | 777,658,998 | 25% | ||
miniature-tiger | 0 | 272,650,484,952 | 100% | ||
jga | 0 | 1,399,639,141 | 12.38% | ||
codingdefined | 0 | 23,146,062,223 | 20% | ||
bachuslib | 0 | 19,840,790,450 | 100% | ||
ratticus | 0 | 4,267,829,932 | 10% | ||
aafeng | 0 | 34,049,255,572 | 46% | ||
leir | 0 | 2,003,535,535 | 50% | ||
mcfarhat | 0 | 18,713,101,126 | 12.01% | ||
steem-plus | 0 | 1,256,376,726 | 0.1% | ||
utopian-io | 0 | 30,469,949,762,723 | 24.77% | ||
jaff8 | 0 | 56,069,575,925 | 30.03% | ||
newsrx | 0 | 72,081,108 | 6.28% | ||
mulder69 | 0 | 1,794,401,760 | 100% | ||
thesimpson | 0 | 0 | 100% | ||
amosbastian | 0 | 78,659,013,201 | 30.03% | ||
asaj | 0 | 17,574,150,803 | 100% | ||
portugalcoin | 0 | 8,305,720,973 | 15% | ||
fego | 0 | 13,077,753,213 | 30.03% | ||
properfraction | 0 | 711,222,109 | 100% | ||
simplymike | 0 | 67,845,532,108 | 30% | ||
feronio | 0 | 1,003,267,805 | 100% | ||
kendallron | 0 | 231,342,031 | 15% | ||
indayclara | 0 | 251,055,395 | 7.5% | ||
pinas | 0 | 449,816,093 | 50% | ||
digital.mine | 0 | 80,758,150,733 | 23% | ||
mightypanda | 0 | 56,396,544,073 | 30% | ||
bestofph | 0 | 6,433,821,314 | 15% | ||
rgkmb-unofficial | 0 | 838,951,942 | 25% | ||
rgkmb | 0 | 31,336,611 | 25% | ||
cmp2020-lite | 0 | 21,209,370 | 25% | ||
remlaps-lite | 0 | 27,509,916 | 25% | ||
bullinachinashop | 0 | 3,648,934,348 | 100% | ||
steem-ua | 0 | 663,592,941,703 | 6.28% | ||
bluesniper | 0 | 59,906,914,354 | 4.8% | ||
primeradue | 0 | 11,563,767,397 | 15% | ||
ascorphat | 0 | 1,063,759,817 | 2.5% | ||
bejust | 0 | 1,803,771,560 | 100% | ||
progressing | 0 | 1,629,180,768 | 100% |
I'm a python guy, and I do not use ruby, but this is an interesting tutorial ;)
author | digital.mine |
---|---|
permlink | re-krischik-using-steem-api-with-ruby-part-1-20190123t203456414z |
category | utopian-io |
json_metadata | {"tags":["utopian-io"],"app":"steemit/0.1"} |
created | 2019-01-23 20:34:57 |
last_update | 2019-01-23 20:34:57 |
depth | 1 |
children | 2 |
last_payout | 2019-01-30 20:34:57 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.154 HBD |
curator_payout_value | 0.047 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 79 |
author_reputation | 16,709,274,423,272 |
root_title | "Using Steem-API with Ruby Part 1 — Print Account Info" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 78,832,846 |
net_rshares | 420,162,590,291 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
krischik | 0 | 24,257,415,380 | 100% | ||
digital.mine | 0 | 395,905,174,911 | 100% |
There is an official python library as well: https://github.com/steemit/steem-python
author | krischik |
---|---|
permlink | re-digitalmine-re-krischik-using-steem-api-with-ruby-part-1-20190123t204535940z |
category | utopian-io |
json_metadata | {"community":"busy","app":"busy/2.5.6","format":"markdown","tags":["utopian-io"],"users":[],"links":["https://github.com/steemit/steem-python"],"image":[]} |
created | 2019-01-23 20:45:36 |
last_update | 2019-01-23 20:45:36 |
depth | 2 |
children | 1 |
last_payout | 2019-01-30 20:45:36 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 85 |
author_reputation | 15,247,708,436,415 |
root_title | "Using Steem-API with Ruby Part 1 — Print Account Info" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 78,833,302 |
net_rshares | 0 |
I know I'm using it for all of my scripts ;)
author | digital.mine |
---|---|
permlink | re-krischik-re-digitalmine-re-krischik-using-steem-api-with-ruby-part-1-20190123t204734025z |
category | utopian-io |
json_metadata | {"tags":["utopian-io"],"app":"steemit/0.1"} |
created | 2019-01-23 20:47:33 |
last_update | 2019-01-23 20:47:33 |
depth | 3 |
children | 0 |
last_payout | 2019-01-30 20:47:33 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.152 HBD |
curator_payout_value | 0.049 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 44 |
author_reputation | 16,709,274,423,272 |
root_title | "Using Steem-API with Ruby Part 1 — Print Account Info" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 78,833,396 |
net_rshares | 412,725,961,390 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
cheneats | 0 | 550,161,851 | 3% | ||
krischik | 0 | 24,175,377,853 | 100% | ||
digital.mine | 0 | 388,000,421,686 | 100% |
Thank you for your contribution @krischik. After analyzing your tutorial we suggest the following points below: - It would be interesting to follow the template of the tutorials category. It is available <a href="https://github.com/utopian-io/editor-templates/blob/master/tutorials">here</a>. - In the tutorials it is important to place at the end of the contribution the proof of the work. - We suggest you put some gifs to show the results on the console. It gets more interesting in visual terms. Your tutorial is interesting, thanks for your work in developing this contribution. Your contribution has been evaluated according to [Utopian policies and guidelines](https://join.utopian.io/guidelines), as well as a predefined set of questions pertaining to the category. To view those questions and the relevant answers related to your post, [click here](https://review.utopian.io/result/8/2-1-3-2-0-3-2-3-). ---- Need help? Chat with us on [Discord](https://discord.gg/uTyJkNm). [[utopian-moderator]](https://join.utopian.io/)
author | portugalcoin |
---|---|
permlink | re-krischik-using-steem-api-with-ruby-part-1-20190124t192101677z |
category | utopian-io |
json_metadata | {"tags":["utopian-io"],"users":["krischik"],"links":["https://github.com/utopian-io/editor-templates/blob/master/tutorials","https://join.utopian.io/guidelines","https://review.utopian.io/result/8/2-1-3-2-0-3-2-3-","https://discord.gg/uTyJkNm","https://join.utopian.io/"],"app":"steemit/0.1"} |
created | 2019-01-24 19:21:03 |
last_update | 2019-01-24 19:21:03 |
depth | 1 |
children | 2 |
last_payout | 2019-01-31 19:21:03 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 6.238 HBD |
curator_payout_value | 1.973 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 1,039 |
author_reputation | 599,460,589,822,571 |
root_title | "Using Steem-API with Ruby Part 1 — Print Account Info" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 78,884,676 |
net_rshares | 16,838,196,840,344 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
yuxi | 0 | 26,843,722,482 | 100% | ||
codingdefined | 0 | 23,085,433,403 | 20% | ||
espoem | 0 | 28,329,061,628 | 15% | ||
utopian-io | 0 | 16,514,948,226,219 | 11.63% | ||
jaff8 | 0 | 134,080,796,509 | 75% | ||
amosbastian | 0 | 50,173,288,114 | 19.25% | ||
krischik | 0 | 23,423,054,798 | 100% | ||
sudefteri | 0 | 4,178,830,065 | 100% | ||
reazuliqbal | 0 | 13,290,371,050 | 10% | ||
ulockblock | 0 | 11,588,335,300 | 4.35% | ||
curbot | 0 | 2,468,368,883 | 100% | ||
ascorphat | 0 | 1,764,511,612 | 2.5% | ||
yff | 0 | 4,022,840,281 | 100% |
Thanks for the suggested. I incorporated two of them. Account dumps are to long for console screen shots but part two is in the making and has more manageable output so I'll make pictures for part two.
author | krischik |
---|---|
permlink | re-portugalcoin-re-krischik-using-steem-api-with-ruby-part-1-20190125t090646480z |
category | utopian-io |
json_metadata | {"tags":["utopian-io"],"app":"steemit/0.1"} |
created | 2019-01-25 09:06:45 |
last_update | 2019-01-25 09:06:45 |
depth | 2 |
children | 0 |
last_payout | 2019-02-01 09:06:45 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 201 |
author_reputation | 15,247,708,436,415 |
root_title | "Using Steem-API with Ruby Part 1 — Print Account Info" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 0 |
post_id | 78,910,001 |
net_rshares | 0 |
Thank you for your review, @portugalcoin! Keep up the good work!
author | utopian-io |
---|---|
permlink | re-re-krischik-using-steem-api-with-ruby-part-1-20190124t192101677z-20190127t132627z |
category | utopian-io |
json_metadata | "{"app": "beem/0.20.17"}" |
created | 2019-01-27 13:26:27 |
last_update | 2019-01-27 13:26:27 |
depth | 2 |
children | 0 |
last_payout | 2019-02-03 13:26:27 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 64 |
author_reputation | 152,955,367,999,756 |
root_title | "Using Steem-API with Ruby Part 1 — Print Account Info" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 79,012,114 |
net_rshares | 0 |
Hi, @krischik! You just got a **0.1%** upvote from SteemPlus! To get higher upvotes, earn more SteemPlus Points (SPP). On your Steemit wallet, check your SPP balance and click on "How to earn SPP?" to find out all the ways to earn. If you're not using SteemPlus yet, please check our last posts in [here](https://steemit.com/@steem-plus) to see the many ways in which SteemPlus can improve your Steem experience on Steemit and Busy.
author | steem-plus |
---|---|
permlink | using-steem-api-with-ruby-part-1---vote-steemplus |
category | utopian-io |
json_metadata | {} |
created | 2019-01-24 22:08:42 |
last_update | 2019-01-24 22:08:42 |
depth | 1 |
children | 0 |
last_payout | 2019-01-31 22:08:42 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 434 |
author_reputation | 247,952,188,232,400 |
root_title | "Using Steem-API with Ruby Part 1 — Print Account Info" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 78,890,351 |
net_rshares | 22,962,540,654 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
krischik | 0 | 22,962,540,654 | 100% |
#### Hi @krischik! Your post was upvoted by @steem-ua, new Steem dApp, using UserAuthority for algorithmic post curation! Your post is eligible for our upvote, thanks to our collaboration with @utopian-io! **Feel free to join our [@steem-ua Discord server](https://discord.gg/KpBNYGz)**
author | steem-ua |
---|---|
permlink | re-using-steem-api-with-ruby-part-1-20190124t213804z |
category | utopian-io |
json_metadata | "{"app": "beem/0.20.14"}" |
created | 2019-01-24 21:38:06 |
last_update | 2019-01-24 21:38:06 |
depth | 1 |
children | 0 |
last_payout | 2019-01-31 21:38:06 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 287 |
author_reputation | 23,214,230,978,060 |
root_title | "Using Steem-API with Ruby Part 1 — Print Account Info" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 78,889,274 |
net_rshares | 1,488,041,355 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
cheneats | 0 | 574,670,093 | 3% | ||
nokodemion | 0 | 346,734,204 | 3.3% | ||
trailreward | 0 | 566,637,058 | 4% |
Hey, @krischik! **Thanks for contributing on Utopian**. We’re already looking forward to your next contribution! **Get higher incentives and support Utopian.io!** Simply set @utopian.pay as a 5% (or higher) payout beneficiary on your contribution post (via [SteemPlus](https://chrome.google.com/webstore/detail/steemplus/mjbkjgcplmaneajhcbegoffkedeankaj?hl=en) or [Steeditor](https://steeditor.app)). **Want to chat? Join us on Discord https://discord.gg/h52nFrV.** <a href='https://steemconnect.com/sign/account-witness-vote?witness=utopian-io&approve=1'>Vote for Utopian Witness!</a>
author | utopian-io |
---|---|
permlink | re-using-steem-api-with-ruby-part-1-20190125t135517z |
category | utopian-io |
json_metadata | "{"app": "beem/0.20.17"}" |
created | 2019-01-25 13:55:18 |
last_update | 2019-01-25 13:55:18 |
depth | 1 |
children | 0 |
last_payout | 2019-02-01 13:55:18 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 590 |
author_reputation | 152,955,367,999,756 |
root_title | "Using Steem-API with Ruby Part 1 — Print Account Info" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 78,919,672 |
net_rshares | 0 |