IF.Lastfm/IF.Lastfm.Core/Api/IArtistApi.cs

37 lines
1.1 KiB
C#
Raw Normal View History

2013-06-14 13:25:02 +01:00
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,
2013-06-14 13:25:02 +01:00
bool autocorrect = false,
int page = 1,
int itemsPerPage = LastFm.DefaultPageLength);
Task<PageResponse<Tag>> GetUserTagsForArtistAsync(string artist,
2013-06-14 13:25:02 +01:00
string username,
bool autocorrect = false,
int page = 1,
int itemsPerPage = LastFm.DefaultPageLength);
Task<PageResponse<Tag>> GetTopTagsForArtistAsync(string artist, bool autocorrect = false);
2013-07-24 07:59:07 +01:00
Task<PageResponse<Shout>> GetShoutsForArtistAsync(string artistname,
int page = 0,
int count = LastFm.DefaultPageLength,
bool autocorrect = false);
2013-06-14 13:25:02 +01:00
}
}