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; } #region album.getInfo Task> GetAlbumInfoAsync(string artist, string album, bool autocorrect = false); Task> GetAlbumInfoWithMbidAsync(string mbid, bool autocorrect = false); #endregion #region album.getBuylinks Task> GetBuyLinksForAlbumAsync(string artist, string album, CountryCode country, bool autocorrect = false); Task> GetBuyLinksForAlbumWithMbidAsync(string mbid, CountryCode country, bool autocorrect = false); #endregion #region album.getShouts Task> GetShoutsForAlbumAsync(string artist, string album, bool autocorrect = false, int page = 1, int itemsPerPage = LastFm.DefaultPageLength); Task> GetShoutsForAlbumWithMbidAsync(string mbid, bool autocorrect = false, int page = 1, int itemsPerPage = LastFm.DefaultPageLength); #endregion #region album.getTags Task> GetUserTagsForAlbumAsync(string artist, string album, string username, bool autocorrect = false); Task> GetUserTagsForAlbumWithMbidAsync(string mbid, string username, bool autocorrect = false); #endregion #region album.getTopTags Task> GetTopTagsForAlbumAsync(string artist, string album, bool autocorrect = false); Task> GetTopTagsForAlbumWithMbidAsync(string mbid, bool autocorrect = false); #endregion #region album.search Task> SearchForAlbumAsync(string album, int page = 1, int itemsPerPage = LastFm.DefaultPageLength); #endregion } }