This is a quick'n'dirty script to get all reputation changes of a given Stack Overflow user, then sum them by type.
It was created as a partial answer for http://meta.stackoverflow.com/questions/152413/pie-chart-to-show-reputation-points-grouped-by-event-type .
You'll need to edit the user's ID at the top.