Hi,
I'm a newbie with workflows and don't know where to put the API code.
I go to: tinypng_config within the workflow and see /bin/bash
key="{query}"
#Storage directory for API key
PREFS="$HOME/Library/Application Support/Alfred 2/Workflow Data/carlosnz.tinypng"
#Create storage folder
mkdir -p "$PREFS"
#Save user's key to storage file
echo "$key">"$PREFS/api_key"
#Notify
echo "New API key applied:"$'\n'"$key"
Where can I put the API?
Best regards,
Hendrik