BililiveRecorder/BililiveRecorder.Core/Api/IApiClient.cs
2021-07-09 19:48:39 +08:00

14 lines
417 B
C#

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, int qn);
}
}