Created
May 19, 2015 16:31
-
-
Save bjeavons/72075147de2ede567f04 to your computer and use it in GitHub Desktop.
Quick script to list what I did yesterday via iDoneThis
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# 1)Install jq from http://stedolan.github.io/jq/download/ | |
# 2) Get your username from https://idonethis.com/accounts/settings/account/ | |
# 3) Get your token from https://idonethis.com/api/token/ | |
# 4) Fill out this file and place in your path | |
URL="https://idonethis.com/api/v0.1/dones/?owner=[USERNAME]&done_date=yesterday" | |
AUTH="Token [TOKEN]" | |
curl –s -H "Authorization: ${AUTH}" ${URL} 2>/dev/null | jq '.results[].raw_text' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment