mirror of
https://github.com/Sarsoo/IF.Lastfm.git
synced 2024-10-17 07:13:09 +01:00
32 lines
967 B
C#
32 lines
967 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using IF.Lastfm.Core.Api.Helpers;
|
|
using IF.Lastfm.Core.Objects;
|
|
|
|
namespace IF.Lastfm.Core.Api
|
|
{
|
|
public interface IArtistApi
|
|
{
|
|
IAuth Auth { get; }
|
|
|
|
Task<LastResponse<Artist>> GetArtistInfoAsync(string artist, string bioLang = LastFm.DefaultLanguageCode,
|
|
bool autocorrect = false);
|
|
|
|
Task<PageResponse<Album>> GetTopAlbumsForArtistAsync(string artist,
|
|
bool autocorrect = false,
|
|
int page = 1,
|
|
int itemsPerPage = LastFm.DefaultPageLength);
|
|
|
|
Task<PageResponse<Tag>> GetUserTagsForArtistAsync(string artist,
|
|
string username,
|
|
bool autocorrect = false,
|
|
int page = 1,
|
|
int itemsPerPage = LastFm.DefaultPageLength);
|
|
|
|
Task<PageResponse<Tag>> GetTopTagsForArtistAsync(string artist, bool autocorrect = false);
|
|
}
|
|
}
|