Spaces:
Sleeping
Sleeping
File size: 462 Bytes
329ba5e |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
import cloudinary.api
# Assuming you have already configured Cloudinary with your credentials
cloudinary.config(
cloud_name = "djepbidi1",
api_key = "531731913696587",
api_secret = "_5ePxVQEECYYOukhSroYXq7eKL0"
)
public_id = 'test'
# Fetch the asset's details
asset_details = cloudinary.api.resource(public_id, resource_type='video')
# Extract the secure URL of the asset
asset_url = asset_details.get('secure_url')
print("Asset URL:", asset_url)
|