mirror of
https://github.com/Sarsoo/IF.Lastfm.git
synced 2024-10-17 15:23:08 +01:00
03fa6f74e9
Methods now return LastResponse or ListResponse (confusing? hmm) instead of throwing exceptions.
17 lines
492 B
C#
17 lines
492 B
C#
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
using IF.Lastfm.Core.Api.Enums;
|
|
using IF.Lastfm.Core.Api.Helpers;
|
|
using IF.Lastfm.Core.Objects;
|
|
|
|
namespace IF.Lastfm.Core.Api
|
|
{
|
|
public interface IUserApi
|
|
{
|
|
IAuth Auth { get; }
|
|
|
|
Task<ListResponse<Album>> GetTopAlbums(LastStatsTimeSpan span,
|
|
int startIndex = 0,
|
|
int endIndex = LastFm.DefaultPageLength);
|
|
}
|
|
} |