wordpress_client 6.3.4 copy "wordpress_client: ^6.3.4" to clipboard
wordpress_client: ^6.3.4 copied to clipboard

A library written purely in dart to interact with Wordpress REST API in a fluent manner. Supports Authorization as well.

32
likes
100/ 140
pub points
80%
popularity

We analyzed this package 3 days ago, and awarded it 100 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.

failed
Provide documentation
10 / 20trigger folding of the section

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

OUT: Documenting wordpress_client... Discovering libraries... Linking elements... Precaching local docs for 166257 elements... Initialized dartdoc with 277 libraries Generating docs for library authorization.dart from package:wordpress_client/authorization.dart... Generating docs for library operations.dart from package:wordpress_client/operations.dart... Generating docs for library responses.dart from package:wordpress_client/responses.dart... Generating docs for library requests.dart from package:wordpress_client/requests.dart... Generating docs for library wordpress_client.dart from package:wordpress_client/wordpress_client.dart... [1 more lines] ERR: warning: private API of package:dio is reexported by libraries in other packages: from wordpress_client.QueuedInterceptor: (file:///tmp/analyzerUHBRZS/pub-cache/hosted/20240514t110800-dot-dartlang-pub.appspot.com/dio-4.0.6/lib/src/interceptor.dart:399:7) referred to by wordpress_client: (file:///tmp/pana_RIPIDW/lib/wordpress_client.dart:5:9) warning: private API of package:dio is reexported by libraries in other packages: from wordpress_client.InterceptorsWrapper.InterceptorsWrapper: (file:///tmp/analyzerUHBRZS/pub-cache/hosted/20240514t110800-dot-dartlang-pub.appspot.com/dio-4.0.6/lib/src/interceptor.dart:324:3) referred to by wordpress_client: (file:///tmp/pana_RIPIDW/lib/wordpress_client.dart:5:9) warning: private API of package:dio is reexported by libraries in other packages: from wordpress_client.QueuedInterceptorsWrapper.QueuedInterceptorsWrapper: (file:///tmp/analyzerUHBRZS/pub-cache/hosted/20240514t110800-dot-dartlang-pub.appspot.com/dio-4.0.6/lib/src/intercep[...] referred to by wordpress_client: (file:///tmp/pana_RIPIDW/lib/wordpress_client.dart:5:9) warning: private API of package:dio is reexported by libraries in other packages: [475 more lines]

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:wordpress_client/wordpress_client.dart that imports:
  • package:wordpress_client/src/utilities/utility_export.dart that imports:
  • package:wordpress_client/src/utilities/response_extensions/post_extensions.dart that imports:
  • package:wordpress_client/requests.dart that imports:
  • package:wordpress_client/src/requests/requests_export.dart that imports:
  • package:wordpress_client/src/requests/create/create_media.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 54 issues. Showing the first 2:

WARNING: This API is available since SDK 2.15.0, but constraints '>=2.12.0 <3.0.0' don't guarantee it.

lib/src/authorization/authorization_methods/useful_jwt.dart:56:35

   ╷
56 │           method: HttpMethod.post.name,
   │                                   ^^^^
   ╵

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

WARNING: This API is available since SDK 2.15.0, but constraints '>=2.12.0 <3.0.0' don't guarantee it.

lib/src/internal_requester.dart:141:38

    ╷
141 │               method: request.method.name,
    │                                      ^^^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/internal_requester.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
cookie_jar ^3.0.1 3.0.1 4.0.8
dio ^4.0.4 4.0.6 5.4.3+1
dio_cookie_manager ^2.0.0 2.0.0 3.1.1
http_parser ^4.0.0 4.0.2 4.0.2
path ^1.8.1 1.9.0 1.9.0
synchronized ^3.0.0 3.1.0+1 3.1.0+1
Transitive dependencies
Package Constraint Compatible Latest
collection - 1.18.0 1.18.0
source_span - 1.10.0 1.10.0
string_scanner - 1.2.0 1.2.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.2 1.3.2

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

Found 3 issues. Showing the first 2:

The constraint `^3.0.1` on cookie_jar does not support the stable version `4.0.0`.

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

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.

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

Analyzed with Pana 0.22.3, Dart 3.4.0.

Check the analysis log for details.

32
likes
100
pub points
80%
popularity

Publisher

verified publisherarunprakashg.com

A library written purely in dart to interact with Wordpress REST API in a fluent manner. Supports Authorization as well.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

cookie_jar, dio, dio_cookie_manager, http_parser, path, synchronized

More

Packages that depend on wordpress_client