blob: 1d5bdf481016cd5c1442d96878f7c2c974c6cf9a (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
package bilibili
import (
"fmt"
"github.com/keuin/slbr/types"
)
func (b Bilibili) GetRoomProfile(roomId types.RoomId) (resp types.RoomProfileResponse, err error) {
url := fmt.Sprintf("https://api.live.bilibili.com/room/v1/Room/get_info?room_id=%d", roomId)
return callGet[types.RoomProfileResponse](b, url)
}
|