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

24 lines
857 B
C#
Raw Normal View History

using System;
using System.Collections.Generic;
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; }
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 17:02:11 +01:00
Task<PageResponse<Station>> GetRecentStations(int pagenumber, int count = LastFm.DefaultPageLength);
}
2013-06-13 17:27:51 +01:00
}