Skip to content

xclarifyio/clarify-curl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

Clarify curl examples

This project is just a holder for examples of using the Clarify API using curl.

Create an audio bundle:

curl --data "media_url={audio file}" https://api.clarify.io/v1/bundles --header "Authorization: Bearer {auth key}" | python -mjson.tool

Retrieve a specific bundle:

curl https://api.clarify.io/v1/bundles/{bundle id} --header "Authorization: Bearer {auth key}" | python -mjson.tool

Retrieve tracks for a specific bundle:

curl https://api.clarify.io/v1/bundles/{bundle id}/tracks --header "Authorization: Bearer {auth key}" | python -mjson.tool

List all bundles:

curl https://api.clarify.io/v1/bundles --header "Authorization: Bearer {auth key}" | python -mjson.tool

Search bundles:

curl https://api.clarify.io/v1/search?query={search term} --header "Authorization: Bearer {auth key}" | python -mjson.tool

Delete a bundle:

curl -X DELETE https://api.clarify.io/v1/bundles/{bundle id} --header "Authorization: Bearer {auth key}"

About

This code is deprecated. Contact info@clarify.io

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published