<center></center> ## Repositories ### SteemRubyTutorial All examples from this tutorial can be found as fully functional scripts on GitHub: * [SteemRubyTutorial](https://github.com/krischik/SteemRubyTutorial) * steem-api sample code: [Steem-Dump-Posting-Votes.rb](https://github.com/krischik/SteemRubyTutorial/blob/master/Scripts/Steem-Print-Posting-Votes.rb) * radiator sample code: [Steem-Print-Posting-Votes.rb](https://github.com/krischik/SteemRubyTutorial/blob/master/Scripts/Steem-Dump-Posting-Votes.rb). ### steem-ruby * Project Name: Steem Ruby * Repository: [https://github.com/steemit/steem-ruby](https://github.com/steemit/steem-ruby) * Official Documentation: [https://github.com/steemit/steem-ruby](https://github.com/steemit/steem-ruby) * Official Tutorial: N/A ### radiator * Project Name: Radiator * Repository: [https://github.com/inertia186/radiator](https://github.com/inertia186/radiator) * Official Documentation: [https://www.rubydoc.info/gems/radiator](https://www.rubydoc.info/gems/radiator) * Official Tutorial: [https://developers.steem.io/tutorials-ruby/getting_started](https://developers.steem.io/tutorials-ruby/getting_started) ## 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 sample code for both APIs will be provided so the reader can decide which is more suitable. This instalment teaches how to calculate the estimated values of all votes on all posting. How we get the lost was already described in [Part 7](https://steemit.com/@krischik/using-steem-api-with-ruby-part-7) ## Requirements Basic knowledge of Ruby programming is needed. It is necessary to install at least Ruby 2.5 as well as the following ruby gems: ```sh gem install bundler gem install colorize gem install contracts gem install steem-ruby gem install radiator ``` **Note:** Both steem-ruby and radiator provide a file called `steem.rb`. This means that: 1. When both APIs are installed ruby must be told which one to use. 2. Both APIs can't be used in the same script. If there is anything not clear you can ask in the comments. ## Difficulty For reader with programming experience this tutorial is **basic level**. ## Tutorial Contents Calculating the vote value is fairly easy as the `rshares` of each vote are calculated when the vote is cast and is then stored. As explained in [Part 7](https://steemit.com/@krischik/using-steem-api-with-ruby-part-7) they can be accessed via `get_active_votes` method of the `CondenserApi`: <center></center> All that is needed is to calculate the estimate with the formula explained in [Part 8](https://steemit.com/@krischik/using-steem-api-with-ruby-part-8): <center></center> ## Implementation using steem-ruby ----- The `Amount` class is used in most Scripts so it was moved into a separate file. You can find the source code in Git under [Steem/Amount.rb](https://github.com/krischik/SteemRubyTutorial/blob/master/Scripts/Steem/Amount.rb) ```ruby require_relative 'Steem/Amount' ``` Create a new class instance from the data which was returned by the `get_active_votes` method. ```ruby Contract HashOf[String => Or[String, Num]] => nil def initialize(value) super(:vote, value) @voter = value.voter ``` `percent` is a fixed numbers with 4 decimal places and need to be divided by 10000 to make the value mathematically correct and easier to handle. Floats are not as precise as fixed numbers so this is only acceptable because we calculate estimates and not final values. ```ruby @percent = value.percent / 10000.0 ``` `weight` is described as weight of the voting power. No further information to be found. ```ruby @weight = value.weight.to_i ``` `rshares` is the rewards share the votes gets from the reward pool. ```ruby @rshares = value.rshares.to_i ``` `reputation` is always 0 — It's probably obsolete and only kept for compatibility. ```ruby @reputation = value.reputation ``` Steem is using an unusual date time format which which makes a special scanner necessary. Also it's' missing the timezone indicator so it's necessary to append a Z. ```ruby @time = Time.strptime(value.time + ":Z" , "%Y-%m-%dT%H:%M:%S:%Z") return end ``` Calculate the vote estimate from the `rshares` as described. ```ruby Contract None => Num def estimate return @rshares.to_f / Recent_Claims * Reward_Balance.to_f * SBD_Median_Price en ``` Create a colourised string from the instance. The vote percentages and estimate and are colourised (positive values are printed in green, negative values in red and zero votes (yes they exist) are shown in grey), for improved human readability. ```ruby Contract None => String def to_ansi_s # multiply percent with 100 for human readability _percent = @percent * 100.0 _estimate = estimate # All the magic happens in the `%` operators which # calls sprintf which in turn formats the string. return ( "%1$-16s | " + "%2$7.2f%%".colorize( if _percent > 0.0 then :green elsif _percent < -0.0 then :red else :white end ) + " |" + "%3$10.3f SBD".colorize( if _estimate > 0.0005 then :green elsif _estimate < -0.0005 then :red else :white end ) + " |%4$10d |%5$16d |%6$20s |") % [ @voter, _percent, _estimate, @weight, @rshares, @time.strftime("%Y-%m-%d %H:%M:%S") ] end ``` The method which print the list a vote values from [Part 7](https://steemit.com/@krischik/using-steem-api-with-ruby-part-7) has been enhanced to sum up and print the estimates. ```ruby Contract ArrayOf[HashOf[String => Or[String, Num]] ] => nil def self.print_list (votes) # used to calculate the total vote value _total_estimate = 0.0 votes.each do |_vote| _vote = Vote.new _vote puts _vote.to_ansi_s # add up estimate _total_estimate = _total_estimate + _vote.estimate end # print the total estimate after the last vote puts ( "Total vote value | |" + "%1$10.3f SBD".colorize( if _total_estimate > 0.0005 then :green elsif _total_estimate < -0.0005 then :red else :white end ) + " | | | |") % [ _total_estimate ] return end ``` To avoid replications the rest of the operation is described in the radiator chapter. ----- **Hint:** Follow this link to Github for the complete script with comments and syntax highlighting: [Steem-Dump-Posting-Votes.rb](https://github.com/krischik/SteemRubyTutorial/blob/master/Scripts/Steem-Dump-Posting-Votes.rb). The output of the command (for for one of my postings) looks like this: <center></center> As you can see three of the votes have a zero estimate. Most interesting here is the 0.75% vote vote from @vannour which too has zero estimate. ## Implementation using radiator To avoid replications the `Vote` class is only described in the steem-ruby chapter. ----- The `Amount` class is used in most Scripts so it was moved into a separate file. You can find the source code in Git under [Radiator/Amount.rb](https://github.com/krischik/SteemRubyTutorial/blob/master/Scripts/Radiator/Amount.rb) ```ruby require_relative 'Radiator/Amount' ``` Load a few values from Condenser into global constants. This is only acceptable in short running scripts as the values are not actually constant but are updated by Condenser in regular intervals. ```ruby begin # create instance to the steem condenser API which # will give us access to the active votes. Condenser_Api = Radiator::CondenserApi.new # read the global properties and median history values # and calculate the conversion Rate for steem to SBD # We use the Amount class from Part 2 to convert the # string values into amounts. _median_history_price = Condenser_Api.get_current_median_history_price.result _base = Amount.new _median_history_price.base _quote = Amount.new _median_history_price.quote SBD_Median_Price = _base.to_f / _quote.to_f # read the reward funds. `get_reward_fund` takes one # parameter is always "post" and extract variables # needed for the vote estimate. This is done just once # here to reduce the amount of string parsing needed. # `get_reward_fund` takes one parameter is always "post". _reward_fund = Condenser_Api.get_reward_fund("post").result Recent_Claims = _reward_fund.recent_claims.to_i Reward_Balance = Amount.new _reward_fund.reward_balance rescue => error # I am using `Kernel::abort` so the script ends when # data can't be loaded Kernel::abort("Error reading global properties:\n".red + error.to_s) end ``` ----- **Hint:** Follow this link to Github for the complete script with comments and syntax highlighting : [Steem-Print-Posting-Votes.rb](https://github.com/krischik/SteemRubyTutorial/blob/master/Scripts/Steem-Print-Posting-Votes.rb). The output of the command (for for one of my postings) looks like this: <center></center> In this output there is a 100% down vote from @camillesteemer — a well know down vote troll. However he is nothing to worry about as his down vote too has a zero estimate. # 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 8](https://steemit.com/@krischik/using-steem-api-with-ruby-part-5) ## Next tutorial * [Using Steem-API with Ruby Part 10](https://steemit.com/@krischik/using-steem-api-with-ruby-part-7) ## Proof of Work * GitHub: [SteemRubyTutorial Enhancement #11](https://github.com/krischik/SteemRubyTutorial/issues/11) ## Image Source * Ruby symbol: [Wikimedia](https://commons.wikimedia.org/wiki/File:Ruby_logo.svg), CC BY-SA 2.5. * Steemit logo [Wikimedia](https://commons.wikimedia.org/wiki/File:Steemit_New_Logo.png), CC BY-SA 4.0. * Screenshots: @krischik, CC BY-NC-SA 4.0 ## Beneficiary <center></center> <center>      </center>
author | krischik | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
permlink | using-steem-api-with-ruby-part-9 | ||||||||||||
category | utopian-io | ||||||||||||
json_metadata | {"tags":["utopian-io","tutorials","ruby","steem-api","programming"],"app":"busy/2.5.6","community":"busy","format":"markdown","users":["krischik","voter","percent","weight","rshares","reputation","time","rshares.to","time.strftime","vannour","camillesteemer"],"links":["https://github.com/krischik/SteemRubyTutorial","https://github.com/krischik/SteemRubyTutorial/blob/master/Scripts/Steem-Print-Posting-Votes.rb","https://github.com/krischik/SteemRubyTutorial/blob/master/Scripts/Steem-Dump-Posting-Votes.rb","https://github.com/steemit/steem-ruby","https://github.com/steemit/steem-ruby","https://github.com/inertia186/radiator","https://www.rubydoc.info/gems/radiator","https://developers.steem.io/tutorials-ruby/getting_started","https://steemit.com/@krischik/using-steem-api-with-ruby-part-7","https://steemit.com/@krischik/using-steem-api-with-ruby-part-7"],"image":["https://steemitimages.com/500x270/https://ipfs.busy.org/ipfs/QmSDiHZ9ng7BfYFMkvwYtNVPrw3nvbzKBA1gEj3y9vU6qN","https://cdn.steemitimages.com/DQmcxuPUSRvRXFj2D4mq5UTDpacnodJzqRFmh1Lk5mXedup/Screenshot%20at%20Feb%2026%2016-17-18.png","https://cdn.steemitimages.com/DQmQjroDqHAcPmS2zMUPphmMCKwz3FZFD9qB428iyhFKo8e/Estimate.png","https://cdn.steemitimages.com/DQmWyd41FC3mBzzfEe9bZe3f1YQxKWTSvBKyC4C6XpSmqeC/Screenshot%20at%20Mar%2014%2010-57-12.png","https://cdn.steemitimages.com/DQmU7AAEiA9XHChBabWqBzgQrmBstymxv2HDXz4i1HcTsL5/Screenshot%20at%20Mar%2014%2010-58-50.png","https://cdn.steemitimages.com/DQmdnAeXmyTiTyZQg8uEPssCEcRa7xL8nLHBrkEJ4dX2RPv/image.png","https://steemitimages.com/50x60/http://steemitboard.com/@krischik/voted.png"]} | ||||||||||||
created | 2019-03-14 12:32:00 | ||||||||||||
last_update | 2019-03-14 12:34:36 | ||||||||||||
depth | 0 | ||||||||||||
children | 8 | ||||||||||||
last_payout | 2019-03-21 12:32:00 | ||||||||||||
cashout_time | 1969-12-31 23:59:59 | ||||||||||||
total_payout_value | 28.379 HBD | ||||||||||||
curator_payout_value | 10.036 HBD | ||||||||||||
pending_payout_value | 0.000 HBD | ||||||||||||
promoted | 0.000 HBD | ||||||||||||
body_length | 12,402 | ||||||||||||
author_reputation | 15,247,708,436,415 | ||||||||||||
root_title | "Using Steem-API with Ruby Part 9 — Print Posting Votes improved" | ||||||||||||
beneficiaries |
| ||||||||||||
max_accepted_payout | 100,000.000 HBD | ||||||||||||
percent_hbd | 0 | ||||||||||||
post_id | 81,295,773 | ||||||||||||
net_rshares | 60,616,030,655,992 | ||||||||||||
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
tombstone | 0 | 4,012,930,139,701 | 16.94% | ||
rufans | 0 | 29,930,911,719 | 100% | ||
abh12345 | 0 | 17,231,035,333 | 2.96% | ||
eforucom | 0 | 32,030,439,046 | 3.5% | ||
techslut | 0 | 80,949,793,453 | 20% | ||
minersean | 0 | 6,974,559,118 | 75% | ||
erikaflynn | 0 | 15,377,453,416 | 35% | ||
sn0n | 0 | 129,452,169 | 5% | ||
miniature-tiger | 0 | 98,417,948,884 | 50% | ||
jakipatryk | 0 | 14,462,537,856 | 50% | ||
jga | 0 | 2,443,828,581 | 21.17% | ||
helo | 0 | 68,972,140,920 | 29.74% | ||
walnut1 | 0 | 37,120,577,038 | 21.17% | ||
lorenzor | 0 | 1,190,400,071 | 10.58% | ||
suesa | 0 | 113,857,524,529 | 25% | ||
tensor | 0 | 38,539,530,579 | 100% | ||
codingdefined | 0 | 29,114,768,417 | 20% | ||
tsoldovieri | 0 | 1,536,620,067 | 10.58% | ||
bachuslib | 0 | 20,096,580,057 | 100% | ||
tykee | 0 | 11,508,765,259 | 21.17% | ||
felixrodriguez | 0 | 783,799,417 | 7.4% | ||
leir | 0 | 2,081,879,621 | 50% | ||
silviu93 | 0 | 5,482,631,964 | 21.17% | ||
dakeshi | 0 | 931,692,431 | 21.17% | ||
espoem | 0 | 64,228,621,012 | 31.83% | ||
mcfarhat | 0 | 20,221,434,360 | 11.89% | ||
vishalsingh4997 | 0 | 179,996,887 | 21.17% | ||
steem-plus | 0 | 55,278,263,292 | 3.62% | ||
elear | 0 | 6,545,877,383 | 42.35% | ||
zoneboy | 0 | 20,277,598,209 | 100% | ||
carlos84 | 0 | 1,570,697,353 | 21.17% | ||
che-shyr | 0 | 739,918,569 | 50% | ||
utopian-io | 0 | 54,397,889,610,398 | 42.35% | ||
jaff8 | 0 | 76,089,853,672 | 29.74% | ||
cheneats | 0 | 1,845,214,502 | 37.5% | ||
newsrx | 0 | 73,673,982 | 6.28% | ||
amestyj | 0 | 499,840,877 | 10.58% | ||
sandracarrascal | 0 | 71,789,160 | 21.17% | ||
iqbaladan | 0 | 6,354,005,853 | 42.35% | ||
funtraveller | 0 | 2,984,306,834 | 2% | ||
mcyusuf | 0 | 2,717,419,186 | 21.17% | ||
alexs1320 | 0 | 13,533,953,548 | 10% | ||
gentleshaid | 0 | 33,395,920,212 | 42.35% | ||
ivymalifred | 0 | 380,129,176 | 10.58% | ||
ennyta | 0 | 159,517,388 | 10.58% | ||
amosbastian | 0 | 107,789,166,276 | 29.74% | ||
eliaschess333 | 0 | 1,987,141,699 | 10.58% | ||
ydavgonzalez | 0 | 138,837,606 | 1.05% | ||
asaj | 0 | 18,261,943,145 | 100% | ||
gaming.yer | 0 | 72,286,301 | 21.17% | ||
scienceangel | 0 | 64,834,576,320 | 50% | ||
portugalcoin | 0 | 13,556,113,620 | 15% | ||
steem-familia | 0 | 71,930,200 | 21.17% | ||
sargoon | 0 | 759,717,427 | 21.17% | ||
osazuisdela | 0 | 192,152,407 | 15% | ||
evangelista.yova | 0 | 70,880,933 | 21.17% | ||
miguelangel2801 | 0 | 128,910,768 | 10.58% | ||
didic | 0 | 31,722,428,534 | 25% | ||
emiliomoron | 0 | 750,616,160 | 10.58% | ||
endopediatria | 0 | 107,702,589 | 4.23% | ||
fego | 0 | 21,196,789,724 | 29.74% | ||
properfraction | 0 | 2,348,486,222 | 100% | ||
tomastonyperez | 0 | 2,322,270,541 | 10.58% | ||
elvigia | 0 | 2,150,480,960 | 10.58% | ||
adamada | 0 | 17,103,994,190 | 50% | ||
geadriana | 0 | 86,734,353 | 3.17% | ||
elpdl | 0 | 77,146,195 | 21.17% | ||
josedelacruz | 0 | 922,981,778 | 10.58% | ||
joseangelvs | 0 | 328,209,499 | 21.17% | ||
viannis | 0 | 300,770,146 | 10.58% | ||
kendallron | 0 | 225,703,448 | 15% | ||
erickyoussif | 0 | 835,092,257 | 21.17% | ||
indayclara | 0 | 277,272,980 | 7.5% | ||
crypto.piotr | 0 | 26,656,402,189 | 7% | ||
yougotresteemed | 0 | 225,148,620 | 37.5% | ||
anaestrada12 | 0 | 4,548,292,160 | 21.17% | ||
digital.mine | 0 | 59,514,230,682 | 9% | ||
joelsegovia | 0 | 641,944,615 | 10.58% | ||
asmeira | 0 | 73,399,758 | 21.17% | ||
bestofph | 0 | 6,516,602,421 | 15% | ||
dalz | 0 | 6,613,032,437 | 16.94% | ||
ulockblock | 0 | 12,397,988,683 | 4.05% | ||
amart29 | 0 | 375,500,885 | 5.29% | ||
jk6276 | 0 | 1,361,596,236 | 21.17% | ||
rubenp | 0 | 77,272,298 | 21.17% | ||
jeferc | 0 | 76,500,845 | 21.17% | ||
mariac2601 | 0 | 532,060,578 | 100% | ||
katherinencb | 0 | 531,902,617 | 100% | ||
dssdsds | 0 | 3,225,136,334 | 21.17% | ||
musiclove | 0 | 126,362,052 | 37.5% | ||
jayplayco | 0 | 95,844,660,845 | 21.17% | ||
juliaochlf | 0 | 529,467,525 | 100% | ||
cryptouno | 0 | 518,412,101 | 5% | ||
fran.frey | 0 | 347,831,291 | 10.58% | ||
mops2e | 0 | 356,849,687 | 25.46% | ||
lilyir586carter | 0 | 533,157,125 | 100% | ||
emilygck9b | 0 | 531,868,834 | 100% | ||
jrevilla | 0 | 133,979,680 | 21.17% | ||
brooke0 | 0 | 529,811,315 | 100% | ||
alfonzoasdrubal | 0 | 77,419,888 | 21.17% | ||
emma3l0 | 0 | 510,989,008 | 100% | ||
swapsteem | 0 | 1,800,088,558 | 21.17% | ||
stem-espanol | 0 | 15,607,524,882 | 21.17% | ||
countbugeftai | 0 | 520,836,773 | 100% | ||
peleafabmold | 0 | 530,213,188 | 100% | ||
biofogmunsner | 0 | 488,498,025 | 100% | ||
puboutile | 0 | 509,059,257 | 100% | ||
steem-ua | 0 | 637,053,135,921 | 6.28% | ||
giulyfarci52 | 0 | 184,860,689 | 10.58% | ||
gouji | 0 | 518,775,964 | 100% | ||
alex-hm | 0 | 1,139,539,992 | 50% | ||
wilmer14molina | 0 | 77,469,814 | 21.17% | ||
moyam | 0 | 77,430,148 | 21.17% | ||
sibaja | 0 | 69,323,157 | 21.17% | ||
balcej | 0 | 77,413,186 | 21.17% | ||
anaka | 0 | 76,811,190 | 21.17% | ||
benhurg | 0 | 77,430,148 | 21.17% | ||
judisa | 0 | 76,949,443 | 21.17% | ||
juddarivv | 0 | 77,429,260 | 21.17% | ||
bluesniper | 0 | 11,733,799,110 | 3.75% | ||
primeradue | 0 | 12,514,951,745 | 18.75% | ||
mrsbozz | 0 | 730,594,416 | 20% | ||
rewarding | 0 | 6,144,870,139 | 71.17% | ||
someaddons | 0 | 12,601,471,801 | 100% | ||
skymin | 0 | 1,910,621,883 | 12.7% | ||
jk6276.mons | 0 | 1,271,266,582 | 42.35% | ||
jaxson2011 | 0 | 1,562,868,396 | 42.35% | ||
supu | 0 | 32,088,808,110 | 3.5% | ||
eternalinferno | 0 | 200,365,422 | 42.35% | ||
utopian.trail | 0 | 16,629,318,346 | 42.35% | ||
tenyears | 0 | 518,121,961 | 100% |
Thank you for your contribution @krischik. After analyzing your tutorial we suggest the following points below: - Your tutorial is very well structured and explained. - We really like your printscrens of the terminal output. The more images to demonstrate the results the better. - Thanks for following our suggestions from previous tutorials. We're really glad to see your tutorials getting better and better. Looking forward to your upcoming tutorials. 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-1-1-1-3-1-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-9-20190314t220633062z |
category | utopian-io |
json_metadata | {"tags":["utopian-io"],"users":["krischik"],"links":["https://join.utopian.io/guidelines","https://review.utopian.io/result/8/2-1-1-1-1-3-1-3-","https://discord.gg/uTyJkNm","https://join.utopian.io/"],"app":"steemit/0.1"} |
created | 2019-03-14 22:06:33 |
last_update | 2019-03-14 22:06:33 |
depth | 1 |
children | 1 |
last_payout | 2019-03-21 22:06:33 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 6.627 HBD |
curator_payout_value | 2.071 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 910 |
author_reputation | 599,460,589,822,571 |
root_title | "Using Steem-API with Ruby Part 9 — Print Posting Votes improved" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 81,322,236 |
net_rshares | 12,823,254,611,333 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
elviento | 0 | 2,762,532,915 | 4.44% | ||
codingdefined | 0 | 26,156,314,364 | 20% | ||
espoem | 0 | 28,905,801,366 | 15% | ||
utopian-io | 0 | 12,609,090,658,581 | 9.09% | ||
jaff8 | 0 | 33,792,699,436 | 14.15% | ||
emrebeyler | 0 | 8,595,338 | 0.01% | ||
amosbastian | 0 | 48,318,734,485 | 14.15% | ||
krischik | 0 | 37,825,397,120 | 100% | ||
sudefteri | 0 | 5,781,901,073 | 100% | ||
reazuliqbal | 0 | 17,658,985,024 | 10% | ||
ulockblock | 0 | 10,583,758,813 | 3.51% | ||
ascorphat | 0 | 2,369,232,818 | 2.5% |
Thank you for your review, @portugalcoin! Keep up the good work!
author | utopian-io |
---|---|
permlink | re-re-krischik-using-steem-api-with-ruby-part-9-20190314t220633062z-20190317t040335z |
category | utopian-io |
json_metadata | "{"app": "beem/0.20.17"}" |
created | 2019-03-17 04:03:36 |
last_update | 2019-03-17 04:03:36 |
depth | 2 |
children | 0 |
last_payout | 2019-03-24 04:03: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 | 64 |
author_reputation | 152,955,367,999,756 |
root_title | "Using Steem-API with Ruby Part 9 — Print Posting Votes improved" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 81,442,863 |
net_rshares | 0 |
Don't forget to archive your g+ account!! Deadline approaching. https://support.google.com/plus/answer/1045788?hl=en Noticed it was listed as your bioline. Figured I'd mention it. Have an amazing day, thanks for the Ruby post! Posted using [Partiko Android](https://partiko.app/referral/sn0n)
author | sn0n |
---|---|
permlink | sn0n-re-krischik-using-steem-api-with-ruby-part-9-20190314t125327602z |
category | utopian-io |
json_metadata | {"app":"partiko","client":"android"} |
created | 2019-03-14 12:53:39 |
last_update | 2019-03-14 12:53:39 |
depth | 1 |
children | 2 |
last_payout | 2019-03-21 12:53:39 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.028 HBD |
curator_payout_value | 0.009 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 296 |
author_reputation | 25,439,683,608,507 |
root_title | "Using Steem-API with Ruby Part 9 — Print Posting Votes improved" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 81,297,314 |
net_rshares | 57,061,402,838 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
sn0n | 0 | 19,236,366,039 | 100% | ||
krischik | 0 | 37,825,036,799 | 100% |
Yup, I have to do that soon.
author | krischik |
---|---|
permlink | re-sn0n-sn0n-re-krischik-using-steem-api-with-ruby-part-9-20190314t132150290z |
category | utopian-io |
json_metadata | {"tags":["utopian-io"],"community":"steempeak","app":"steempeak/1.8.4b"} |
created | 2019-03-14 13:21:57 |
last_update | 2019-03-14 13:21:57 |
depth | 2 |
children | 1 |
last_payout | 2019-03-21 13:21:57 |
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 | 28 |
author_reputation | 15,247,708,436,415 |
root_title | "Using Steem-API with Ruby Part 9 — Print Posting Votes improved" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 81,298,969 |
net_rshares | 129,414,676 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
sn0n | 0 | 129,414,676 | 5% |
I did mine tonight, made sure to add Hangouts data also since I was there and it's going away soon also. Shame. We need better chat apps, not to close down the decent ones! LoL Posted using [Partiko Android](https://partiko.app/referral/sn0n)
author | sn0n |
---|---|
permlink | sn0n-re-krischik-re-sn0n-sn0n-re-krischik-using-steem-api-with-ruby-part-9-20190314t132324472z |
category | utopian-io |
json_metadata | {"app":"partiko","client":"android"} |
created | 2019-03-14 13:23:30 |
last_update | 2019-03-14 13:23:30 |
depth | 3 |
children | 0 |
last_payout | 2019-03-21 13:23:30 |
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 | 243 |
author_reputation | 25,439,683,608,507 |
root_title | "Using Steem-API with Ruby Part 9 — Print Posting Votes improved" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 81,299,079 |
net_rshares | 0 |
Hi, @krischik! You just got a **3.62%** 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-9---vote-steemplus |
category | utopian-io |
json_metadata | {} |
created | 2019-03-14 16:05:57 |
last_update | 2019-03-14 16:05:57 |
depth | 1 |
children | 0 |
last_payout | 2019-03-21 16:05:57 |
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 | 435 |
author_reputation | 247,952,188,232,400 |
root_title | "Using Steem-API with Ruby Part 9 — Print Posting Votes improved" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 81,308,796 |
net_rshares | 0 |
#### 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-9-20190315t034631z |
category | utopian-io |
json_metadata | "{"app": "beem/0.20.18"}" |
created | 2019-03-15 03:46:33 |
last_update | 2019-03-15 03:46:33 |
depth | 1 |
children | 0 |
last_payout | 2019-03-22 03:46:33 |
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 9 — Print Posting Votes improved" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 81,335,894 |
net_rshares | 0 |
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-9-20190315t043525z |
category | utopian-io |
json_metadata | "{"app": "beem/0.20.17"}" |
created | 2019-03-15 04:35:27 |
last_update | 2019-03-15 04:35:27 |
depth | 1 |
children | 0 |
last_payout | 2019-03-22 04:35:27 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.020 HBD |
curator_payout_value | 0.006 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 9 — Print Posting Votes improved" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 81,337,861 |
net_rshares | 39,705,494,006 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
krischik | 0 | 39,705,494,006 | 100% |