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

21 lines
719 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<LastResponse<Track>> GetInfoAsync(string trackname, string artistname, string username = "");
}
}