IF.Lastfm/IF.Lastfm.Core/Api/IUserApi.cs

25 lines
728 B
C#
Raw Normal View History

using System;
2013-06-13 17:27:51 +01:00
using System.Threading.Tasks;
using IF.Lastfm.Core.Api.Enums;
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);
Task<PageResponse<Track>> GetRecentScrobbles(string username, DateTime since,
2013-07-23 15:48:03 +01:00
int startIndex = 0,
int endIndex = LastFm.DefaultPageLength);
2013-07-23 15:48:03 +01:00
Task<PageResponse<Station>> GetRecentStations(int pagenumber,
int count = LastFm.DefaultPageLength);
2013-06-15 17:02:11 +01:00
}
2013-06-13 17:27:51 +01:00
}