This file contains hidden or 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
| { | |
| "_class": "ClassificationInsight", | |
| "bundle_id": "abcde12345", | |
| "created": "2015-09-17T18:48:48.058Z", | |
| "id": "edcba56789", | |
| "name": "classification", | |
| "status": "ready", | |
| "updated": "2015-09-17T18:48:48.061Z", | |
| "_links": { | |
| "clarify:bundle": { |
This file contains hidden or 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/edcba56789 \ | |
| --header "Authorization: Bearer myapikey" | jq '.' | |
| # The jq portion is optional and just used to pretty print the resulting json |
This file contains hidden or 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
| { | |
| "bundle_id": "abcde12345", | |
| "created": "2015-03-04T05:03:04.292Z", | |
| "updated": "2015-05-16T20:39:37.508Z", | |
| "_class": "Insights", | |
| "_links": { | |
| "curies": [ | |
| { | |
| "href": "/docs/insights/{rel}", | |
| "name": "insight", |
This file contains hidden or 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 \ | |
| --header "Authorization: Bearer myapikey" | jq '.' | |
| # The jq portion is optional and just used to pretty print the resulting json |
This file contains hidden or 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 --data "media_url=http://media.clarify.io.s3.amazonaws.com/video/speeches/je-vous-ai-compris-1958-06-04.mp4" \ | |
| --data "name=Je Vous ai Compris" https://api.clarify.io/v1/bundles \ | |
| --X POST --header "Authorization: Bearer myapikey" | jq '.' | |
| # The jq portion is optional and just used to pretty print the resulting json |
This file contains hidden or 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
| <?php | |
| // This includes the PHP library | |
| require_once __DIR__ . '/vendor/autoload.php'; | |
| /* | |
| * This file has a total of three values: | |
| * - The App ID and App Secret received when you create a new Application. | |
| * - The person/application-specific Access Token, normally granted via the OAuth process. | |
| * | |
| * For simplicity here, I've skipped the OAuth process and retrieved my Access Token via the |
This file contains hidden or 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
| TEDGlobal 2013: How reliable is your memory? | |
| 249.27 -- 250.53 | |
| 260.03 -- 260.91 | |
| 624.42 -- 625.46 | |
| 638.04 -- 638.93 | |
| 666.35 -- 667.08 | |
| 674.88 -- 675.74 | |
| 684.98 -- 685.76 | |
| 699.54 -- 700.48 | |
| 855.2 -- 855.94 |
This file contains hidden or 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
| from clarify_python import clarify | |
| clarify.set_key('my api key') | |
| result = clarify.search(query='"on the exam"') | |
| results = result['item_results'] | |
| items = result['_links']['items'] | |
| index = 0 | |
| for item in items: |
This file contains hidden or 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
| from clarify_python import clarify | |
| clarify.set_key('my api key') | |
| clarify.create_bundle(name='TEDGlobal 2013: How reliable is your memory?', media_url='http://media.clarify.io/video/presentations/ElizabethLoftus_TEDxGlobal2013-480p.mp4') |
This file contains hidden or 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
| $ pip install clarify_python |