IF.Lastfm/IF.Lastfm.Core/Api/IArtistApi.cs
Rikki Tooley 73e1831986 user.shout, artist.shout.
the api doesn't have album.shout and track.shout but i made commands for
them anyway, not put them in AlbumApi or TrackApi though.
2013-07-30 00:36:55 +01:00

39 lines
1.2 KiB
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);
Task<PageResponse<Shout>> GetShoutsForArtistAsync(string artistname,
int page = 0,
int count = LastFm.DefaultPageLength,
bool autocorrect = false);
Task<LastResponse> AddShoutAsync(string artistname, string messaage);
}
}