Created
September 1, 2010 21:22
-
-
Save mathieue/561388 to your computer and use it in GitHub Desktop.
This file contains 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
# warning order of json keys/values pairs could change on the twitter stream api, | |
# and you should modify the sed regexp | |
export TUSER=toto | |
export PASS=123456 | |
curl -s -d 'track=google' http://stream.twitter.com/1/statuses/filter.json -u$TUSER:$PASS | sed 's/.*text":"\(.*\)","crea.*_name":"\(.*\)","name.*/\2\t\t\1/' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment