ACRCloud
Ask or search…
K
Links

File Scanning

post
https://api-v2.acrcloud.com
/api/fs-containers
Create a FS container
Parameters
Header
Authorization*
Bearer your_token
Body
name*
Your container name
region*
eu-west-1,us-west-2,ap-southeast-1
audio_type*
linein or recorded. Default is linein linein: Audio of original file or stream without noise
recorded: Audio captured via microphone or noisy audio files
buckets*
Array
The project detects content from the buckets. The format is bucket id/name array. For example: [8881,8882,"ACRCloud Music"]
engine*
Number
1:Audio Fingerprinting 2:Cover Songs 3:Audio Fingerprinting & Cover songs 4:Speech to Text
policy*
JSON
{"type":"traverse", "interval":0, "rec_length:10} or {"type":"points", "points":3}
callback_url
Result callback url
Responses
201: Created
Python
import requests
url = "https://api-v2.acrcloud.com/api/fs-containers"
payload={
"name":"test",
"region":"eu-west-1",
"buckets":[8881,8882,"ACRCloud Music"],
"audio_type":"linein",
"engine":1,
"policy":{"type":"traverse", "interval":0, "rec_length":10}
}
headers = {
'Accept': 'application/json',
'Authorization': 'Bearer token',
'Content-Type': 'application/json'
}
response = requests.post(url, headers=headers, json=payload)
print(response.text)
get
https://api-v2.acrcloud.com
/api/fs-containers
Get all the containers
Parameters
Header
Authorization*
Bearer your_token
Content-Type
application/json
Responses
200: OK
get
https://api-v2.acrcloud.com
/api/fs-containers/:container_id
Show one container
Parameters
Header
Authorization*
String
Bearer your_token
Content-Type
application/json
Responses
200: OK
delete
https://api-v2.acrcloud.com
/api/fs-containers/:container_id
Delete one container
Parameters
Path
container_id*
Number
The Container ID
Header
Authorization*
String
Bearer your_token
Content-Type
application/json
Responses
204: No Content
Last modified 5d ago