Skip to content

Instantly share code, notes, and snippets.

@lfcipriani
Last active December 24, 2015 01:59
Show Gist options
  • Save lfcipriani/6727642 to your computer and use it in GitHub Desktop.
Save lfcipriani/6727642 to your computer and use it in GitHub Desktop.
$ echo "<items>"; \
> curl http://apify.heroku.com/api/twitter_rest_api_v11_docs.json | \
> jq -r '.[] | "<item uid=\"\(.resource)\" arg=\"\("https://dev.twitter.com" + .link)\"><title>\(.resource)</title><subtitle>\(.link)</subtitle></item>"' | \
> grep 'uid=".*search.*" arg' ; \
> echo "</items>"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment