yt 1.2.3 copy "yt: ^1.2.3" to clipboard
yt: ^1.2.3 copied to clipboard

Native Dart interface to multiple YouTube REST APIs including the Data API, Live Streaming API and Cloud Vision API.

29
likes
110/ 140
pub points
62%
popularity

We analyzed this package 6 hours ago, and awarded it 110 pub points (of a possible 140):

OK
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: MIT.

OK
Provide documentation
20 / 20trigger folding of the section

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

143 out of 445 API elements (32.1 %) have documentation comments.

Some symbols that are missing documentation: authorizationException, authorizationException.AuthorizationException, authorizationException.AuthorizationException.AuthorizationException, authorizationException.AuthorizationException.err, authorizationException.AuthorizationException.msg.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android
  • ✓ iOS
  • ✓ Windows
  • ✓ Linux
  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:yt/yt.dart that imports:
  • package:yt/util/tokenGenerator.dart that imports:
  • package:universal_io/io.dart that imports:
  • package:universal_io/src/_exports_in_browser.dart that imports:
  • package:universal_io/src/internet_address.dart that imports:
  • dart:io
failed
Pass static analysis
30 / 50trigger folding of the section

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

Found 83 issues. Showing the first 2:

WARNING: Duplicate import.

lib/src/model/vision/faceAnnotation.dart:8:8

  ╷
8 │ import 'boundingPoly.dart';
  │        ^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/model/vision/faceAnnotation.dart

INFO: Statements in an if should be enclosed in a block.

lib/src/channels.dart:33:7

   ╷
33 │ ┌       return _rest.authList('Bearer $token', accept, buildParts(partList, part),
34 │ │           categoryId: categoryId,
35 │ │           forUsername: forUsername,
36 │ │           id: id,
37 │ │           managedByMe: managedByMe,
38 │ │           mine: mine,
39 │ │           hl: hl,
40 │ │           maxResults: maxResults,
41 │ │           onBehalfOfContentOwner: onBehalfOfContentOwner,
42 │ └           pageToken: pageToken);
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/channels.dart

failed
Support up-to-date dependencies
10 / 20trigger folding of the section

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

Package Constraint Compatible Latest
color ^3.0.0 3.0.0 3.0.0
crypto_keys ^0.3.0 0.3.0+1 0.3.0+1
dio ^4.0.4 4.0.6 5.4.3+1
dio_cache_interceptor ^3.2.6 3.4.2 3.5.0
easy_enum ^1.0.0 1.0.0 1.0.0
http_parser ^4.0.0 4.0.2 4.0.2
image ^3.1.0 3.3.0 4.1.7
jose ^0.3.2 0.3.4 0.3.4
json_annotation ^4.4.0 4.9.0 4.9.0
process_run ^0.12.3+1 0.12.5+3 0.14.2
retrofit ^3.0.0 3.3.1 4.1.0
universal_io ^2.0.4 2.2.2 2.2.2
yaml ^3.1.0 3.1.2 3.1.2
Transitive dependencies
Package Constraint Compatible Latest
archive - 3.5.1 3.5.1
args - 2.5.0 2.5.0
asn1lib - 1.5.2 1.5.2
async - 2.11.0 2.11.0
boolean_selector - 2.1.1 2.1.1
charcode - 1.3.1 1.3.1
collection - 1.18.0 1.18.0
convert - 3.1.1 3.1.1
crypto - 3.0.3 3.0.3
http - 1.2.1 1.2.1
js - 0.7.1 0.7.1
matcher - 0.12.16+1 0.12.16+1
meta - 1.15.0 1.15.0
path - 1.9.0 1.9.0
petitparser - 6.0.2 6.0.2
pointycastle - 3.9.1 3.9.1
pub_semver - 2.1.4 2.1.4
quiver - 3.2.1 3.2.1
source_span - 1.10.0 1.10.0
stack_trace - 1.11.1 1.11.1
stream_channel - 2.1.2 2.1.2
string_scanner - 1.2.0 1.2.0
synchronized - 3.1.0+1 3.1.0+1
term_glyph - 1.2.1 1.2.1
test_api - 0.7.1 0.7.1
typed_data - 1.3.2 1.3.2
uuid - 3.0.7 4.4.0
web - 0.5.1 0.5.1
x509 - 0.2.4+2 0.2.4+2
xml - 6.5.0 6.5.0

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

Found 4 issues. Showing the first 2:

The constraint `^4.0.4` on dio does not support the stable version `5.0.0`.

Try running dart pub upgrade --major-versions dio to update the constraint.

The constraint `^3.1.0` on image does not support the stable version `4.0.0`.

Try running dart pub upgrade --major-versions image to update the constraint.

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

Analyzed with Pana 0.22.3, Dart 3.3.4.

Check the analysis log for details.

29
likes
110
pub points
62%
popularity

Publisher

verified publishermuayid.com

Native Dart interface to multiple YouTube REST APIs including the Data API, Live Streaming API and Cloud Vision API.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

color, crypto_keys, dio, dio_cache_interceptor, easy_enum, http_parser, image, jose, json_annotation, process_run, retrofit, universal_io, yaml

More

Packages that depend on yt