-
-
Save caseysoftware/4fa7c6352d082c32b664 to your computer and use it in GitHub Desktop.
This snippet retrieves the keywords insight for a particular bundle and then iterates over the results. This is part of a post for the IBM Watson blog: http://blog.alchemyapi.com/decoding-the-debates-a-cognitive-approach
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 https://api.clarify.io/v1/bundles/abcde12345/insights/12345abcde \ | |
--header "Authorization: Bearer myapikey" | jq '.track_data[0].keywords[].term' | |
# The jq command is an optional json parsing library available from https://stedolan.github.io/jq/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment