2013-06-15 16:17:37 +01:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
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-06-15 16:17:37 +01:00
|
|
|
|
Task<PageResponse<Album>> GetTopAlbums(LastStatsTimeSpan span,
|
|
|
|
|
int startIndex = 0,
|
|
|
|
|
int endIndex = LastFm.DefaultPageLength);
|
|
|
|
|
|
|
|
|
|
Task<PageResponse<Track>> GetRecentScrobbles(string username, DateTime since,
|
2013-06-13 17:27:51 +01:00
|
|
|
|
int startIndex = 0,
|
|
|
|
|
int endIndex = LastFm.DefaultPageLength);
|
2013-06-15 16:17:37 +01:00
|
|
|
|
|
2013-06-15 17:02:11 +01:00
|
|
|
|
Task<PageResponse<Station>> GetRecentStations(int pagenumber, int count = LastFm.DefaultPageLength);
|
|
|
|
|
}
|
2013-06-13 17:27:51 +01:00
|
|
|
|
}
|