The new Python-Steem 0.4 is out, but I think it could use more examples.
As I try out the new functions, I thought it would be helpful, to post some working code.
This script uses the classes Account and Amount that were part oft steemtools by @furion.
The longest part was to build the url.
Code
from steem import Steem
steem = Steem(node="wss://node.steem.ws") #temporary fix (usually: wss://this.piston.rocks )
from steem.account import Account
from steem.amount import Amount
account = Account("felixxx")
best = 0
for event in account.history(filter_by='curation_reward'):
reward = account.converter.vests_to_sp(Amount(event['reward']).amount)
if reward > best:
best = reward
link = ("https://steemit.com/tag/@" + event['comment_author'] + '/' + event['comment_permlink'])
print('\nYour curation-highscore: ' + str(best) + ' SP\nfor ' + link +'\n')
Just replace felixxx with your account name and run.
Result*
*The curation reward shown in Steem Power might be slightly wrong, since the script uses the reward VEST values