I hereby claim:
- I am whwright on github.
- I am whwright (https://keybase.io/whwright) on keybase.
- I have a public key ASB52p9i0OJdYrL7UqGbVEHOxJ3F2lSSi8dMW6S004aqrAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
# requires httpie and jq | |
# export HIPCHAT_API_TOKEN before run | |
# export OUT_DIR to override default output directory of "hipchat-emoticons" | |
# needs more work if you have > 1000 emoticons | |
OUT_DIR=${OUT_DIR:-"hipchat-emoticons"} | |
mkdir -p "${OUT_DIR}" | |
URLS=($(http "https://api.hipchat.com/v2/emoticon?auth_token=${HIPCHAT_API_TOKEN}&max-results=1000" | jq '.items[] | .url')) |