bilibili_live_api 1.1.0
bilibili_live_api: ^1.1.0 copied to clipboard
B站直播开放平台 API 封装,支持互动玩法 HTTP 接口和 WebSocket 实时消息接收(弹幕、礼物、SC等)
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add bilibili_live_apiWith Flutter:
$ flutter pub add bilibili_live_apiThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
bilibili_live_api: ^1.1.0Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:bilibili_live_api/bilibili_live_api.dart';