Current collected state Current
Observed since 20 Oct, 18:25 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
An AcrCloud Client for Python
ACR Cloud Python Client
https://docs.acrcloud.com/reference/console-api
List and remove audios that are created on 2021
from acrcloud import ACRCloudClient
import os
ACR_TOKEN=os.getenv("ACR_TOKEN")
def log(bucket, msg):
"""Local log function"""
print(f"B:{bucket.name} - {msg}")
acr = ACRCloudClient(ACR_TOKEN)
for bucket in acr.list_buckets(search="my-bucket-"):
print("Processing bucket:", bucket.name)
audios = bucket.list_audios(order="asc")
for a in audios:
if "2021" in a.created_at:
a.delete()
log(bucket, f"Delete audio: {a.id} - {a.created_at}")
else:
log(bucket, "Not found any audio from 2021")
break
Environment Variables
ACR_CLOUD_TOKEN =
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.0.4 | 29 May 2023 | 1 |
This describes our collected data; it is not a security assessment.
Observed since 20 Oct, 18:25 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:0d955ef94ed5248456859a756fd8de1afb6e781a1a1163a3cee5be75426adc18