How to get the list of private videos from my channel using Dailymotion API

461 Views Asked by At

We are creating an application for educators where teachers can upload their videos on Dailymotion and student can watch the uploaded videos by teachers.

The uploaded videos can only be watch by our application no private link will be shared. The Dailymotion player will be used for video purpose embed.

To create this application I need to get the list of private videos from my channel. I tried the Dailymotion API explorer but didn't get any solution.

This is how I am getting the trending video lists : "https://api.dailymotion.com/videos?fields=description,id,thumbnail_360_url,title&1&limit=30&tags=trending"

Like this, I want to get a list of private videos.

Please help me with this tell me is it possible or not.

Thanks to read and feedback if any.

1

There are 1 best solutions below

5
dailymotion On

You can retrieve your private videos by adding the private filter to your query.

API call exmaple: https://api.dailymotion.com/user/<your_channel_id>/videos?fields=description,id,thumbnail_360_url,title,private&limit=30&private=true

Reminder, you need to be authenticated to the API to retrieve private videos