Skip to content

Instantly share code, notes, and snippets.

@Coornail
Created October 10, 2013 08:03
Show Gist options
  • Save Coornail/6914724 to your computer and use it in GitHub Desktop.
Save Coornail/6914724 to your computer and use it in GitHub Desktop.
Export rescuetime current day data.
#!/bin/sh
KEY=xxx
DATE=`date +%Y-%m-%d`
curl "https://www.rescuetime.com/anapi/data?key=$KEY&format=csv&rb=$DATE&re=$DATE" > $DATE.csv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment