create account

RE: Post Promoter JavaScript Voting Bot - Update 4 by yabapmatt

View this thread on: hive.blogpeakd.comecency.com

Viewing a response to: @danielsaori/re-yabapmatt-post-promoter-javascript-voting-bot-update-4-20171215t202241350z

· @yabapmatt ·
$0.05
Glad you like it! I didn't even think to use the internal market lol...not sure how to do that, I guess I would use the steem.api.getOrderBook() call? Either way it was super simple to use the coinmarketcap.com API so I went with that!
👍  
properties (23)
authoryabapmatt
permlinkre-danielsaori-re-yabapmatt-post-promoter-javascript-voting-bot-update-4-20171215t203149411z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"app":"steemit/0.1"}
created2017-12-15 20:31:48
last_update2017-12-15 20:31:48
depth2
children1
last_payout2017-12-22 20:31:48
cashout_time1969-12-31 23:59:59
total_payout_value0.036 HBD
curator_payout_value0.012 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length235
author_reputation160,224,638,135,630
root_title"Post Promoter JavaScript Voting Bot - Update 4"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id23,668,221
net_rshares8,467,846,903
author_curate_reward""
vote details (1)
@danielsaori ·
I use the get_ticker call and use the returned value for 'latest' tick. 
See below the API call used in steem-python.

```
def get_ticker(self):
        """Returns the market ticker for the internal SBD:STEEM market."""
        return self.exec('get_ticker', api='market_history_api')```
properties (22)
authordanielsaori
permlinkre-yabapmatt-re-danielsaori-re-yabapmatt-post-promoter-javascript-voting-bot-update-4-20171215t215406087z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"app":"steemit/0.1"}
created2017-12-15 21:54:06
last_update2017-12-15 21:54:06
depth3
children0
last_payout2017-12-22 21:54:06
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length287
author_reputation19,949,800,673,455
root_title"Post Promoter JavaScript Voting Bot - Update 4"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id23,674,994
net_rshares0