I've also been working on something very similar (general data tracking with an awesome API) for a couple of months now. It's not quiet ready yet, but I would love to have your input on it once it's online!
(P.S. My project is also heavily inspired by the features and shortcomings of Daytum (namely the lack of an API), which is frankly the best self tracking tool available at the moment.)