草庐IT

GTLFramework

全部标签

iOS,GTLFramework - 如何使用 pageTokens 从一个 channel 获取所有视频

这是我从特定channel检索YouTube视频列表的代码:GTLServiceYouTube*service;self.vidInfos=[[NSMutableArrayalloc]init];service=[[GTLServiceYouTubealloc]init];service.APIKey=@"my-api-key";GTLQueryYouTube*query1=[GTLQueryYouTubequeryForPlaylistItemsListWithPart:@"id,snippet"];query1.playlistId=@"the-playlist-id-from-u