Patron Bot: A Social Bot to Bring Artists and Patrons Closer Together. by marcosdk

View this thread on steempeak.com
· @marcosdk · (edited)
$0.91
Patron Bot: A Social Bot to Bring Artists and Patrons Closer Together.
<center>https://www.3dkrender.com/wp-content/uploads/2019/07/patronBotheader.jpg</center> 

#### Repository

GitHub Repository: <a href="https://github.com/3dkrender/Patron-Bot">https://github.com/3dkrender/Patron-Bot</a>

#### Introduction
<strong>Patron Bot</strong> is a harmless bot for the Steem ecosystem. It does not sell votes or harass anyone. This bot is designed to help artists.

Followers of a content creator can vote for their publications, delegate SP or give away Steem in direct transfers. These are all normal operations within the Steem ecosystem.

There are grateful artists or, simply, attentive towards their followers. Perhaps the artist likes to give rewards to his followers in gratitude for his support.

This is where Patron Bot comes in. Its function is to take note of all the contributions of the followers of an artist; votes, delegations and transactions. Thanks to these statistics, the artists can attend to their followers as they wish.

#### Roadmap

It is still in a very basic phase. For the moment, I have released a small list of functions with which you can get some interesting result.


#### New Features

``GetAuthorRewardsByTime``

This function accesses the blockchain to retrieve the payout posts from a user from the current moment to the desired time.

The purpose of this function is to obtain a dictionary with the names of the users who have voted all the posts in the list in that period of time and the total accumulated SBD of their votes.

<h4>Params</h4>

<ul>
<li>author: Steem account name (without '@')</li>
<li>minutes: Period of time in minutes since now to back.</li>
</ul>

<h4>Sample use</h4>

<code>import pprint
from tools import getAuthorRewardsByTime
author = 'marcosdk'
minutes = 30*24*60
listRewards = getAuthorRewardsByTime(author, minutes)
pprint.pprint(listRewards)</code>

It will show a dictionary like this:
<img src="https://www.3dkrender.com/wp-content/uploads/2019/07/Captura-de-pantalla-2019-07-01-17.52.14.png" alt="test" /><br/>

``The Blacklist``

The code includes a blacklist of users only for optimization reasons. It is not worth keeping track of the contributions made by bidbots, trail heads and accounts that do not offer organic voting in general.

At the moment, this is the blacklist. You can suggest me more entries or ask me for exclude some of them.

<code>blacklist = [ 'steempress', 'steempress-io', 'templo', 'cervantes', 'minnowsupport', 'sancho-panza', 'goya', 'velazquez', 'fridakahlo', 'don.quijote', 'simon-bolivar', 'ramonycajal', 'bloque64', 'elarca', 'curie', 'cryptoctopus', 'steemauto', 'surpassinggoogle', 'airhawk-project', 'steemnaira', 'steemph.cebu', 'utopian-1up', 'blockspeed', 'photofeed', 'mayvileros', 'airron', 'dynamicsteemians', 'swanthu', 'genesis-project', 'more4less', 'stach', 'haseeb37', 'coolcurator', 'sbi1', 'sbi2', 'sbi3', 'sbi5', 'sbi6', 'sbi7', 'sbi8', 'sbi9', 'sbi10', 'gentlebot', 'steembasicincome', 'therising', 'appreciator', 'rocky1', 'blocktrades', 'smartsteem', 'upmewhale', 'tipu', 'promobot', 'buildawhale', 'jerrybanfield', 'postpromoter', 'upmyvote', 'booster', 'boomerang', 'sct.voter', 'triplea.bot', 'minnowvotes', 'steemmonsters', 'skeaky-ninja', 'bdvoter', 'spydo', 'rewards-pool', 'treeplanter', 'lays', 'swiftcash', 'drotto', 'originalworks', 'steemvote', 'siditech', 'postdoctor', 'thundercurator', 'bumper', 'steemlike', 'minnowpond', 'upvotewhale', 'botcoin', 'friends-bot', 'withsmn', 'earthnation-bot', 'coolbot', 'big-whale', 'followforupvotes', 'microbot', 'resteemable', 'steemvoter', 'byresteem', 'hottopic', 'upvotebank', 'blissfish', 'morwhale', 'echowhale', 'flagship', 'queqtra', 'promotedpost', 'resteemr', 'schoolofminnows', 'tisko', 'bidseption', 'cleansingpoetry', 'resteembot', 'hugewhale', 'thehumanbot', 'resteemyou', 'superbot', 'crystalhuman', 'danzy', 'blockgators', 'red-rose', 'steemthat', 'reblogit', 'zerotoherobot', 'earnmoresteem', 'frontrunner', 'photocontests', 'ottoman', 'fresteem', 'highvote', 'refresh', 'postresteem', 'talhadogan', 'giftbox', 'growingpower', 'moonbot', 'oceansbot', 'bubblebee', 'jeryalex', 'drewardsresteem', 'bestvote', 'bidbot', 'kiwibot', 'mecurator', 'okankarol', 'astrobot', 'alphaprime', 'gangvote', 'otobot' ]</code> <br /><center><hr/><em>Posted from my blog with <a href='https://wordpress.org/plugins/steempress/'>SteemPress</a> : https://www.3dkrender.com/patron-bot-a-social-bot-to-bring-artists-and-patrons-closer-together/ </em><hr/></center>
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 16 others
properties (23)
post_id77,437,163
authormarcosdk
permlinkpatronbotasocialbottobringartistsandpatronsclosertogether-qjjlw2bk3o
categorypalnet
json_metadata{"community":"steempress","app":"steemit\/0.1","image":["https:\/\/www.3dkrender.com\/wp-content\/uploads\/2019\/07\/patronBotheader.jpg","https:\/\/www.3dkrender.com\/wp-content\/uploads\/2019\/07\/Captura-de-pantalla-2019-07-01-17.52.14.png"],"tags":["utopian-io","palnet","blog","steemleo","steempress"],"original_link":"https:\/\/www.3dkrender.com\/patron-bot-a-social-bot-to-bring-artists-and-patrons-closer-together\/","links":["https:\/\/github.com\/3dkrender\/Patron-Bot","https:\/\/wordpress.org\/plugins\/steempress\/","https:\/\/www.3dkrender.com\/patron-bot-a-social-bot-to-bring-artists-and-patrons-closer-together\/"],"format":"markdown"}
created2019-07-03 19:37:45
last_update2019-07-04 16:07:15
depth0
children0
net_rshares2,137,244,077,387
last_payout2019-07-10 19:37:45
cashout_time1969-12-31 23:59:59
total_payout_value0.688 SBD
curator_payout_value0.225 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length4,464
author_reputation104,445,296,927,556
root_title"Patron Bot: A Social Bot to Bring Artists and Patrons Closer Together."
beneficiaries
0.
accountsteempress
weight1,500
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (80)