annas_archive_api 0.3.4 copy "annas_archive_api: ^0.3.4" to clipboard
annas_archive_api: ^0.3.4 copied to clipboard

Anna's archive API is an easy to use SDK for interacting with the popular Anna's Archive Service. It provides a simple interface for fetching and parsing data from the service.

1
likes
90/ 160
pub points
308
downloads

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

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: BSD-3-Clause.

OK
Provide documentation
20 / 20trigger folding of the section

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

24 out of 87 API elements (27.6 %) have documentation comments.

Some symbols that are missing documentation: annas_archive_api, annas_archive_api.AnnaApi.baseUrl, annas_archive_api.AnnaApi.batchSize, annas_archive_api.AnnaApi.convertListToModelWithErrorCount, annas_archive_api.AnnaApi.defaultLimit.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

0/0 points: WASM compatibility

Unable to detect compatibility with runtime wasm, and this package will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

failed
Pass static analysis
0 / 50trigger folding of the section

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

Found 11 issues. Showing the first 2:

ERROR: Undefined class '_$CollectionRequestImpl'.

lib/src/models/collection_request.g.dart:9:1

  ╷
9 │ _$CollectionRequestImpl _$$CollectionRequestImplFromJson(
  │ ^^^^^^^^^^^^^^^^^^^^^^^
  ╵

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

ERROR: The function '_$CollectionRequestImpl' isn't defined.

lib/src/models/collection_request.g.dart:11:5

   ╷
11 │     _$CollectionRequestImpl(
   │     ^^^^^^^^^^^^^^^^^^^^^^^
   ╵

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

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

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

Package Constraint Compatible Latest
beautiful_soup_dart ^0.3.0 0.3.0 0.3.0
book_scraper ^0.0.5 0.0.5 0.0.5
compute ^1.0.2 1.0.2 1.0.2
freezed_annotation ^2.4.1 2.4.4 2.4.4
html ^0.15.5 0.15.5 0.15.5
http ^1.2.1 1.2.2 1.2.2
json_annotation ^4.8.1 4.9.0 4.9.0
Transitive dependencies
Package Constraint Compatible Latest
async - 2.12.0 2.12.0
collection - 1.19.1 1.19.1
csslib - 1.0.2 1.0.2
http_parser - 4.1.1 4.1.1
meta - 1.16.0 1.16.0
path - 1.9.1 1.9.1
source_span - 1.10.1 1.10.1
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.0 1.1.0

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

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

0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 9 errors:

  • UNDEFINED_CLASS - lib/src/models/collection_request.g.dart:9:1 - Undefined class '_$CollectionRequestImpl'.
  • UNDEFINED_FUNCTION - lib/src/models/collection_request.g.dart:11:5 - The function '_$CollectionRequestImpl' isn't defined.
  • UNDEFINED_FUNCTION - lib/src/models/collection_request.g.dart:13:13 - The function '$enumDecode' isn't defined.

Run dart pub downgrade and then dart analyze to reproduce the above problem.

You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.

Analyzed with Pana 0.22.17, Dart 3.6.0.

Check the analysis log for details.

1
likes
90
points
308
downloads

Publisher

verified publishertribestick.com

Weekly Downloads

Anna's archive API is an easy to use SDK for interacting with the popular Anna's Archive Service. It provides a simple interface for fetching and parsing data from the service.

Homepage

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

beautiful_soup_dart, book_scraper, compute, freezed_annotation, html, http, json_annotation

More

Packages that depend on annas_archive_api