Hello,

I would like to request that doit.im can integrate with RescueTime (https://www.rescuetime.com/anapi/setup/overview)

It would be useful, for example, if finishing at task in Doit could add an entry to daily highlights in rescue time (e.g. as a commit to Github would do: see code below)

The example below is more for single-user, but they have oauth interface for enterprise: Please see https://www.rescuetime.com/anapi/setup/documentation

I'm not connected with them, just an interested user.

Thank you

===Example===

#!/bin/sh
#
# Log commit messages as a 'highlight' in RescueTime Premium
#
# To enable this hook:
#
# 1. Place this file in your project's .git/hooks directory and make sure its name is "post-commit".
# 2. Make sure it has executable permissions (chmod +x post-commit)
# 3. All commits will be automatically logged as highlight events.
#

API_KEY=xxx

# REQUIRED FIELDS - Today's date and commit message
MESSAGE=$(git log -1 HEAD --pretty=format:%s)
DATE_TODAY=$(date +"%Y-%m-%d")

# OPTIONAL - Label
LABEL='code commit'

if [[ ${#MESSAGE} -gt 20 ]]; then
curl --data "key=$API_KEY&highlight_date=$DATE_TODAY&description=$MESSAGE&source=$LABEL" https://www.rescuetime.com/anapi/highlights_post
fi