bilibili_live_api 1.1.0 copy "bilibili_live_api: ^1.1.0" to clipboard
bilibili_live_api: ^1.1.0 copied to clipboard

B站直播开放平台 API 封装,支持互动玩法 HTTP 接口和 WebSocket 实时消息接收(弹幕、礼物、SC等)

130/ 160
pub points
39
downloads

We analyzed this package 9 days ago, and awarded it 130 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
10 / 30trigger folding of the section

Failed check 0/10 points: Provide a valid pubspec.yaml

The package description contains too many non-ASCII characters.

The site uses English as its primary language. The content of the description field in your package's pubspec.yaml should primarily contain characters used in English.

Failed check 0/5 points: Provide a valid README.md

`README.md` contains too many non-ASCII characters.

The site uses English as its primary language. The content of README.md in your package should primarily contain characters used in English.

Failed check 0/5 points: Provide a valid CHANGELOG.md

`CHANGELOG.md` does not contain reference to the current version ("1.1.0").

Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Passed report section
Provide documentation
20 / 20trigger folding of the section

Passed check 10/10 points: 20% or more of the public API has dartdoc comments

50 out of 214 API elements (23.4 %) have documentation comments.

Some symbols that are missing documentation: bilibili_live_api.AnchorInfo.AnchorInfo.fromJson, bilibili_live_api.AnchorInfo.AnchorInfo.new, bilibili_live_api.AnchorInfo.openId, bilibili_live_api.AnchorInfo.roomId, bilibili_live_api.AnchorInfo.toJson.

Passed check 10/10 points: Package has an example

Partially passed report section
Platform support
10 / 20trigger folding of the section

Partially passed check 10/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

These issues are present but do not affect the score, because they may not originate in your package:

Package not compatible with platform Web

Because:

  • package:bilibili_live_api/bilibili_live_api.dart that imports:
  • package:bilibili_live_api/src/websocket/websocket_client.dart that imports:
  • package:bilibili_live_api/src/logger.dart that imports:
  • package:logger/logger.dart that imports:
  • package:logger/src/outputs/advanced_file_output_stub.dart that imports:
  • dart:io

WASM compatibility:

Package not compatible with runtime wasm

Because:

  • package:bilibili_live_api/bilibili_live_api.dart that imports:
  • package:bilibili_live_api/src/websocket/websocket_client.dart that imports:
  • package:bilibili_live_api/src/logger.dart that imports:
  • package:logger/logger.dart that imports:
  • package:logger/src/outputs/advanced_file_output_stub.dart that imports:
  • dart:io

Note: This package supports Web but is not WASM-compatible, resulting in a partial score. See https://dart.dev/web/wasm for details.

Passed report section
Pass static analysis
50 / 50trigger folding of the section

Passed check 50/50 points: code has no errors, warnings, lints, or formatting issues

Passed report section
Support up-to-date dependencies
40 / 40trigger folding of the section

Passed check 10/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
crypto ^3.0.6 3.0.7 3.0.7
dio ^5.7.0 5.9.2 5.9.2
logger ^2.5.0 2.7.0 2.7.0
web_socket_channel ^3.0.1 3.0.3 3.0.3
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.1 2.13.1
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
dio_web_adapter - 2.1.2 2.1.2
http_parser - 4.1.2 4.1.2
meta - 1.18.2 1.18.2
mime - 2.0.0 2.0.0
path - 1.9.1 1.9.1
source_span - 1.10.2 1.10.2
stream_channel - 2.1.4 2.1.4
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
web - 1.1.1 1.1.1
web_socket - 1.0.1 1.0.1

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.12, Dart 3.11.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
130
points
39
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

B站直播开放平台 API 封装,支持互动玩法 HTTP 接口和 WebSocket 实时消息接收(弹幕、礼物、SC等)

Homepage
Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

crypto, dio, logger, web_socket_channel

More

Packages that depend on bilibili_live_api