Get the most recent vides from YT api
This commit is contained in:
parent
28de8f1279
commit
5668413dfb
@ -34,6 +34,7 @@ namespace YTManager.Tasks
|
||||
// Get channel videos from youtube.
|
||||
var query = youtubeService.Search.List("snippet");
|
||||
query.ChannelId = ch.YTChannelID;
|
||||
query.Order = SearchResource.ListRequest.OrderEnum.Date;
|
||||
query.MaxResults = 50;
|
||||
var response = query.Execute();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user