I tried to get the the length of a Video i searched before, with the youtube v3 API you can download at nuget.org.
I know there are a lot of solution, but they are always written in php.
That is the code I am using Right now:
var searchListRequest = youtubeService.Search.List("snippet");
earchListRequest.Q = Find;
searchListRequest.MaxResults = 5;
var searchListResponse = await searchListRequest.ExecuteAsync();
foreach (var searchResult in searchListResponse.Items)
{
switch (searchResult.Id.Kind)
{
case "youtube#video":
break;
}
}
Thanks for any kind of help :)