Exemplo n.º 1
0
        public Task <Paging <PlaylistTrack <IPlayableItem> > > GetItems(string playlistId, PlaylistGetItemsRequest request)
        {
            Ensure.ArgumentNotNullOrEmptyString(playlistId, nameof(playlistId));
            Ensure.ArgumentNotNull(request, nameof(request));

            return(API.Get <Paging <PlaylistTrack <IPlayableItem> > >(URLs.PlaylistTracks(playlistId), request.BuildQueryParams()));
        }
Exemplo n.º 2
0
        public Task <Paging <PlaylistTrack <IPlayableItem> > > GetItems(string playlistId)
        {
            var request = new PlaylistGetItemsRequest();

            return(GetItems(playlistId, request));
        }