/// <summary> /// Fetches the top global tags on Last.fm, sorted by popularity (number of times used). /// </summary> public Task<PageResponse<LastTag>> GetTopTagsAsync() { var command = new GetTopTagsCommand(Auth) { HttpClient = HttpClient }; return command.ExecuteAsync(); }
/// <summary> /// Fetches the top global tags on Last.fm, sorted by popularity (number of times used). /// </summary> public Task <PageResponse <LastTag> > GetTopTagsAsync() { var command = new GetTopTagsCommand(Auth) { HttpClient = HttpClient }; return(command.ExecuteAsync()); }
public GetAlbumTopTagsCommandTest() { _command = new GetTopTagsCommand(MAuth.Object) { AlbumName = "Believe", ArtistName = "Cher" }; _command.SetParameters(); }
public Task<PageResponse<LastTag>> GetTopTagsAsync(string artist, bool autocorrect = false) { var command = new GetTopTagsCommand(Auth, artist) { Autocorrect = autocorrect, HttpClient = HttpClient }; return command.ExecuteAsync(); }
/// <summary> /// Get a list of the most frequently used tags by Last.fm users /// </summary> /// <remarks> /// Bug 28/05/16 - page and itemsPerPage parameters do not actually affect the number of or selection of tags returned /// </remarks> public Task <PageResponse <LastTag> > GetTopTagsAsync(int page = 1, int itemsPerPage = LastFm.DefaultPageLength) { var command = new GetTopTagsCommand(Auth) { Page = page, Count = itemsPerPage, HttpClient = HttpClient }; return(command.ExecuteAsync()); }
public async Task <PageResponse <LastTag> > GetTopTagsAsync(string artist, string album, bool autocorrect = false) { var command = new GetTopTagsCommand(Auth) { ArtistName = artist, AlbumName = album, HttpClient = HttpClient }; return(await command.ExecuteAsync()); }
public Task <PageResponse <LastTag> > GetTopTagsByMbidAsync(string mbid, bool autocorrect = false) { var command = new GetTopTagsCommand(Auth) { ArtistMbid = mbid, Autocorrect = autocorrect, HttpClient = HttpClient }; return(command.ExecuteAsync()); }
public async Task<PageResponse<LastTag>> GetTopTagsAsync(string artist, string album, bool autocorrect = false) { var command = new GetTopTagsCommand(Auth) { ArtistName = artist, AlbumName = album, HttpClient = HttpClient }; return await command.ExecuteAsync(); }
public void Initialise() { _command = new GetTopTagsCommand(MAuth.Object); }
public void Initialise() { _command = new GetTopTagsCommand(MAuth.Object, ""); }