I'm a big fan of Flattr. But I find it hard to have some statistics about your things that have been flattered.
On my Flattr account, I receive flatts for both my blog and for Getting Things GNOME!. But I want to keep a clear separation. There are multiple persons now involved in GTG and they deserve part of the money (we will use that to buy beers at FOSDEM).
Also, on my own blog, I was interested to know which posts where the more successful, speaking of revenue. I knew that, so far, this post had the most clicks but I had no idea which one received the most money (for the curious, it is that one).
In order to do that, I quickly wrote FlattrStat, a python script. You need to download all the csv files from flatr, put them in a folder then run the script with "python flattrstat.py".

It will outputs the total clicks and revenues for each domain separately and, for each domain, sort all your things from the most successful to the least one.
Ideally, it should download the CSV files automatically and have a nice GUI but I don't really need that. It was for my own needs but I realize that it might be useful to someone else. So, feel free to use it or to contribute, it is under the WTFPL license.
La discussion continue ailleurs
URL de rétrolien : http://ploum.net/trackback/1846

Commentaires
Looks really cool! I once setup a cronjob to download my Flattr profile page, planning to write a script to scrap useful info from it, but never took the time to actually write it.
I downloaded your script, but I can't find the csv files on Flattr, can you point me to the right url?
@Aurélien Gâteau : Go to the revenue page of each month. At the bottom, there's a link to the data in the CSV format. Repeat for each month. I should really make that automatic ;-)
Just downloaded csv files for the last 6 months: works fine, thanks!
Getting the CSV automatically is currently very hard: http://stackoverflow.com/questions/...
Very Nice tool, il will try it soon !