mirror of
https://github.com/Sarsoo/IF.Lastfm.git
synced 2024-10-17 07:13:09 +01:00
32 lines
1.1 KiB
C#
32 lines
1.1 KiB
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
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<Shout>> GetShoutsForAlbumAsync(string artist,
|
|
string album,
|
|
bool autocorrect = false,
|
|
int page = 1,
|
|
int itemsPerPage = LastFm.DefaultPageLength);
|
|
|
|
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);
|
|
}
|
|
} |