FlattrStat, a small statistic tool for Flattr
by Ploum on 2012-01-27
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.