Mooment API provides a RESTful service that can be used to keep track of time spent on different projects.