Created
April 18, 2012 21:45
-
-
Save renormalist/2416828 to your computer and use it in GitHub Desktop.
Use dpath to filter metacpan query results
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
curl -s -XPOST http://api.metacpan.org/release/_search -d'{ "query": { "match_all": {} }, "size": 999, "fields": ["download_url"], "filter": { "term": { "distribution": "MooseX-NonMoose" } } }' | dpath -i json -o flat '//download_url' |
Oh, und ich hab nicht gesehen, dass hier einer kommentiert, meine github notification settings scheinen fragil...
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ok i found App::DPath 👍