<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>