IF.Lastfm/IF.Lastfm.Core/Api/ITrackApi.cs

23 lines
835 B
C#
Raw Normal View History

using System.Collections.Generic;
using System.Threading.Tasks;
using IF.Lastfm.Core.Api.Helpers;
2013-07-07 16:16:54 +01:00
using IF.Lastfm.Core.Objects;
namespace IF.Lastfm.Core.Api
{
public interface ITrackApi
{
IAuth Auth { get; }
Task<LastResponse> ScrobbleAsync(Scrobble scrobble);
Task<LastResponse> ScrobbleAsync(IEnumerable<Scrobble> scrobble);
2013-07-07 16:16:54 +01:00
Task<PageResponse<Shout>> GetShoutsForTrackAsync(string trackname, string artistname,
int page = 0,
int count = LastFm.DefaultPageLength);
Task<PageResponse<Shout>> GetShoutsForTrackWithMbidAsync(string mbid,
int page = 0,
int count = LastFm.DefaultPageLength);
}
}