Hey,
I wrote a cointracking API wrapper and some helper scripts for my own usage. I've put it on github, maybe this helps someone else. Was quite useful in my case, for example the script to detect missing withdrawals and deposits.
Here's the repo:
https://github.com/arnuschky/cointracking-toolsCheers