Пример #1
0
        public Task <IEnumerable <IArtist> > GetArtistChartForGenre(IGenre genre, CancellationToken cancellationToken, uint start = 0, uint count = 50)
        {
            genre.ThrowIfNull();

            return(GetArtistChartForGenre(genre.Id, cancellationToken, start, count));
        }
Пример #2
0
        // *****
        // Incorporates the 'Editorial' endpoint since it largely hinges off genre anyway

        public Task <IEnumerable <IAlbum> > GetDeezerSelectionForGenre(IGenre genre, CancellationToken cancellationToken, uint start = 0, uint count = 25)
        {
            genre.ThrowIfNull();

            return(GetDeezerSelectionForGenre(genre.Id, cancellationToken, start, count));
        }
Пример #3
0
        public Task <IChart> GetChartsForGenre(IGenre genre, CancellationToken cancellationToken, uint start = 0, uint count = 50)
        {
            genre.ThrowIfNull();

            return(GetChartsForGenre(genre.Id, cancellationToken, start, count));
        }
Пример #4
0
        // NOTE: Endpoint accepts paging but doesn't take note of it
        public Task <IEnumerable <IRadio> > GetRadioForGenre(IGenre genre, CancellationToken cancellationToken, uint start = 0, uint count = 25)
        {
            genre.ThrowIfNull();

            return(GetRadioForGenre(genre.Id, cancellationToken, start, count));
        }