Retrieving Dailymotion popular videos - dailymotion-api

I want to retrieve popular videos on Dailymotion without login. Youtube has an API for the same. Is there any API available to perform this task?

You need to use the "sort" parameter with rated, visited ...
Something like https://api.dailymotion.com/videos?sort=visited
See here for more infos.

Related

Retrive only videoIds from YouTube using API v3

I am trying to fetch YouTube videos based on keyword search.
https://www.googleapis.com/youtube/v3/search?part=snippet&q=eminem&key=YouTube-API-Key&maxResults=5
items[0].id.videoId and items[3].id.videoId do not exist. Instead they have channelId.
So why am I getting channelIds for non-existent videos ? Do I need to filter them manually or is it possible to filter them via the API ?
You have to request the id in the part parameter.
https://www.googleapis.com/youtube/v3/search?part=id,snippet&q=eminem&key=YouTube-API-Key&maxResults=5&type=video

Search limit with Dailymotion API

I want to use Dailymotion API in order to search videos. I have read the documentation and I have not found any answer to my question.
Are there limits with the search query Dailymotion API ?
https://developer.dailymotion.com/api#video
"While some basic features are available without authentication, you will need to register yourself as a developer in order to perform more elaborate API calls, authenticate users and act on their behalf."
Is the "search videos" a basic feature ?
Thank you very much
Here is the answer to your question: https://developer.dailymotion.com/api#rate-limit
Basically, so far dailymotion API only enforces quotas on video upload and on field to get stream (this is very limited). There is no restriction on the search query.
You need to register to dailymotion to get an API key, which will be useful for calls that require authentication.

how to use youtube api to retrieve videos using hash tags

I want to retrieve videos about my website posted in YouTube, so I want them to display on my website. I want to write code using the YouTube API that are posted using hashtags. I want to know how to use the YouTube API for hash tags to get the videos.

How do I mark a video as watched with Youtube API v3?

I have a C# program I wrote using the Youtube API V3 that manages my channel's videos.
I already have all the OAuth 2.0 stuff sorted out and I'm looking for a way to tell Youtube that the authenticated account watched the video.
The reason being that I use the "watched" feature to determine which of the videos in my feed is the last one I actually watched.
Is there a way to do that?
Or is it purposefully not in the API because it messes with the view count?
Of course I checked Google and Google's API reference first, didn't find anything.

How to get user specific recommended videos based on specific channel

How to get user specific recommended videos based on specific channel like - nba, nationalgeographic using YouTube API?
I am using the below API to get recommended videos.
https://gdata.youtube.com/feeds/api/users/default/recommendations?v=2&key=&access_token=
key -> I am passing my developer key
access_token -> I am passing authentication token.
Its returning me recommended videos of specific user. But I need recommended videos of specific channels like nba, nationalgeographic.
Can anyone please help for this.
I know this is old but in case anyone googling this comes across this answer, a workaround until there is a full recommendation API in YouTube API v3 is to use the Activity List feature, then just go through the results looking for "type": "recommendation":
https://developers.google.com/youtube/v3/docs/activities/list
GET https://www.googleapis.com/youtube/v3/activities?part=snippet&home=true&maxResults=50&key={YOUR_API_KEY}
(don't forget to use an auth token for a user for this to work)

Resources