using System; using System.Collections.Generic; using System.Net.Http; using System.Net.Http.Headers; using System.Threading; using System.Threading.Tasks; using IF.Lastfm.Core.Api.Commands.AlbumApi; using IF.Lastfm.Core.Api.Enums; using IF.Lastfm.Core.Api.Helpers; using IF.Lastfm.Core.Objects; using Newtonsoft.Json; using Newtonsoft.Json.Linq; namespace IF.Lastfm.Core.Api { public class AlbumApi : IAlbumApi { public IAuth Auth { get; private set; } public AlbumApi(IAuth auth) { Auth = auth; } #region album.getInfo public async Task> GetAlbumInfoAsync(string artistname, string albumname, bool autocorrect = false) { var command = new GetAlbumInfoCommand(Auth, artistname, albumname) { Autocorrect = autocorrect }; return await command.ExecuteAsync(); } public Task> GetAlbumInfoWithMbidAsync(string mbid, bool autocorrect = false) { throw new NotImplementedException(); } #endregion #region album.getBuylinks public Task> GetBuyLinksForAlbumAsync(string artist, string album, CountryCode country, bool autocorrect = false) { throw new NotImplementedException(); } public Task> GetBuyLinksForAlbumWithMbidAsync(string mbid, CountryCode country, bool autocorrect = false) { throw new NotImplementedException(); } #endregion #region album.getShouts public Task> GetShoutsForAlbumAsync(string artist, string album, bool autocorrect = false, int page = 1, int itemsPerPage = LastFm.DefaultPageLength) { throw new NotImplementedException(); } public Task> GetShoutsForAlbumWithMbidAsync(string mbid, bool autocorrect = false, int page = 1, int itemsPerPage = LastFm.DefaultPageLength) { throw new NotImplementedException(); } #endregion #region album.getTags public Task> GetUserTagsForAlbumAsync(string artist, string album, string username, bool autocorrect = false) { throw new NotImplementedException(); } public Task> GetUserTagsForAlbumWithMbidAsync(string mbid, string username, bool autocorrect = false) { throw new NotImplementedException(); } #endregion #region album.getTopTags public Task> GetTopTagsForAlbumAsync(string artist, string album, bool autocorrect = false) { throw new NotImplementedException(); } public Task> GetTopTagsForAlbumWithMbidAsync(string mbid, bool autocorrect = false) { throw new NotImplementedException(); } #endregion #region album.search public Task> SearchForAlbumAsync(string album, int page = 1, int itemsPerPage = LastFm.DefaultPageLength) { throw new NotImplementedException(); } #endregion } }