2013-06-15 16:17:37 +01:00
|
|
|
|
using System;
|
2013-06-13 17:27:51 +01:00
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
using IF.Lastfm.Core.Api.Enums;
|
2013-06-14 13:11:42 +01:00
|
|
|
|
using IF.Lastfm.Core.Api.Helpers;
|
2013-06-13 17:27:51 +01:00
|
|
|
|
using IF.Lastfm.Core.Objects;
|
|
|
|
|
|
|
|
|
|
namespace IF.Lastfm.Core.Api
|
|
|
|
|
{
|
|
|
|
|
public interface IUserApi
|
|
|
|
|
{
|
|
|
|
|
IAuth Auth { get; }
|
|
|
|
|
|
2013-07-23 15:48:03 +01:00
|
|
|
|
Task<PageResponse<Album>> GetTopAlbums(string username,
|
|
|
|
|
LastStatsTimeSpan span,
|
|
|
|
|
int startIndex = 0,
|
|
|
|
|
int endIndex = LastFm.DefaultPageLength);
|
2013-06-15 16:17:37 +01:00
|
|
|
|
|
2013-07-23 22:34:51 +01:00
|
|
|
|
Task<PageResponse<Track>> GetRecentScrobbles(string username,
|
|
|
|
|
DateTime since,
|
2013-07-23 15:48:03 +01:00
|
|
|
|
int startIndex = 0,
|
|
|
|
|
int endIndex = LastFm.DefaultPageLength);
|
2013-06-15 16:17:37 +01:00
|
|
|
|
|
2013-07-23 22:34:51 +01:00
|
|
|
|
Task<PageResponse<Station>> GetRecentStations(string username,
|
|
|
|
|
int pagenumber,
|
2013-07-23 15:48:03 +01:00
|
|
|
|
int count = LastFm.DefaultPageLength);
|
2013-06-15 17:02:11 +01:00
|
|
|
|
}
|
2013-06-13 17:27:51 +01:00
|
|
|
|
}
|