BililiveRecorder/BililiveRecorder.Core/Api/IApiClient.cs

14 lines
409 B
C#
Raw Normal View History

2021-02-23 18:03:37 +08:00
using System;
using System.Threading.Tasks;
using BililiveRecorder.Core.Api.Model;
namespace BililiveRecorder.Core.Api
{
public interface IApiClient : IDisposable
{
Task<BilibiliApiResponse<RoomInfo>> GetRoomInfoAsync(int roomid);
Task<BilibiliApiResponse<UserInfo>> GetUserInfoAsync(int roomid);
Task<BilibiliApiResponse<RoomPlayInfo>> GetStreamUrlAsync(int roomid);
}
}