IF.Lastfm/IF.Lastfm.Core/Api/IAlbumApi.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.Threading.Tasks;
using IF.Lastfm.Core.Api.Helpers;
using IF.Lastfm.Core.Objects;
namespace IF.Lastfm.Core.Api
{
public interface IAlbumApi
{
IAuth Auth { get; }
Task<LastResponse<Album>> GetAlbumInfoAsync(string artist, string album, bool autocorrect = false);
Task<PageResponse<BuyLink>> GetBuyLinksForAlbumAsync(string artist,
string album,
CountryCode country,
bool autocorrect = false);
Task<PageResponse<Tag>> GetUserTagsForAlbumAsync(string artist,
string album,
string username,
bool autocorrect = false);
Task<PageResponse<Tag>> GetTopTagsForAlbumAsync(string artist,
string album,
bool autocorrect = false);
Task<PageResponse<Album>> SearchForAlbumAsync(string album,
int page = 1,
int itemsPerPage = LastFm.DefaultPageLength);
Task<PageResponse<Shout>> GetShoutsAsync(string albumname,
string artistname,
bool autocorrect = false,
int page = 1,
int count = LastFm.DefaultPageLength);
//Task<LastResponse> AddShoutAsync(string albumname, string artistname, string message);
}
}