mirror of
https://github.com/Sarsoo/IF.Lastfm.git
synced 2024-10-17 07:13:09 +01:00
27 lines
769 B
C#
27 lines
769 B
C#
using System;
|
|
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<PageResponse<Album>> GetTopAlbums(string username,
|
|
LastStatsTimeSpan span,
|
|
int startIndex = 0,
|
|
int endIndex = LastFm.DefaultPageLength);
|
|
|
|
Task<PageResponse<Track>> GetRecentScrobbles(string username,
|
|
DateTime since,
|
|
int startIndex = 0,
|
|
int endIndex = LastFm.DefaultPageLength);
|
|
|
|
Task<PageResponse<Station>> GetRecentStations(string username,
|
|
int pagenumber,
|
|
int count = LastFm.DefaultPageLength);
|
|
}
|
|
} |