Import link into excel
How to import all link in a folder of cloudinary into excel without copying it one by one?
Answers
-
Hi @Uti_cloudi ,
Cloudinary provides an API to list all assets in a folder. You can retrieve the URLs and then import them into Excel.
You’ll need to use the Admin API to list all resources from a specific folder using theresources
method as described in the following documentation:
https://cloudinary.com/documentation/admin_api#resources
Here's a basic example using Node.js to get assets from a folder:
const cloudinary = require('cloudinary').v2;cloudinary.api.resources({
type: 'upload',
prefix: 'your_folder_name', // Replace with your folder name
max_results: 500 // Adjust as needed
}, function(error, result){
console.log(result.resources.map(asset => asset.secure_url));
});This will output a list of URLs of the assets in the folder.
Then, you can copy those URLs and paste them into Excel.
I hope you find it useful. Please let me know if you have additional questions.
Best Regards,Wissam
0