wp_json_api 4.0.5 wp_json_api: ^4.0.5 copied to clipboard
WordPress and WooCommerce JSON API for Flutter Mobile. API allows you to login, register new users, get users info and more.
We analyzed this package in the last hour, and awarded it 90 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
Failed to verify repository URL.
Please provide a valid repository
URL in pubspec.yaml
, such that:
repository
can be cloned,- a clone of the repository contains a
pubspec.yaml
, which:,- contains
name: wp_json_api
, - contains a
version
property, and, - does not contain a
publish_to
property.
- contains
Unable to access git repository: Could not accept branch name: 4.x
.
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-2-Clause
.
0/10 points: 20% or more of the public API has dartdoc comments
48 out of 343 API elements (14.0 %) have documentation comments.
Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.
To highlight public API members missing documentation consider enabling the public_member_api_docs
lint.
Some symbols that are missing documentation: empty_username_exception
, empty_username_exception.EmptyUsernameException
, empty_username_exception.EmptyUsernameException.EmptyUsernameException
, empty_username_exception.EmptyUsernameException.message
, existing_user_email_exception
.
10/10 points: Package has an example and has no issues with screenshots
20/20 points: Supports 2 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:wp_json_api/wp_json_api.dart
that imports:package:wp_json_api/networking/network_manager.dart
that imports:package:wp_json_api/models/wp_user.dart
that imports:package:nylo_support/helpers/model.dart
that imports:package:nylo_support/helpers/ny_logger.dart
that imports:package:nylo_support/helpers/helper.dart
that imports:package:nylo_support/nylo.dart
that imports:package:flutter_local_notifications/flutter_local_notifications.dart
that declares support for platforms:Android
,iOS
,Linux
,macOS
.
Package does not support platform `Linux`.
Because:
package:wp_json_api/wp_json_api.dart
that imports:package:wp_json_api/networking/network_manager.dart
that imports:package:wp_json_api/models/wp_user.dart
that imports:package:nylo_support/helpers/model.dart
that imports:package:nylo_support/helpers/ny_logger.dart
that imports:package:nylo_support/helpers/helper.dart
that imports:package:app_badge_plus/app_badge_plus.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `macOS`.
Because:
package:wp_json_api/wp_json_api.dart
that imports:package:wp_json_api/networking/network_manager.dart
that imports:package:wp_json_api/models/wp_user.dart
that imports:package:nylo_support/helpers/model.dart
that imports:package:nylo_support/helpers/ny_logger.dart
that imports:package:nylo_support/helpers/helper.dart
that imports:package:nylo_support/nylo.dart
that imports:package:flutter_local_notifications/flutter_local_notifications.dart
that imports:package:flutter_local_notifications/src/notification_details.dart
that imports:package:flutter_local_notifications_linux/flutter_local_notifications_linux.dart
that declares support for platforms:Linux
.
Package does not support platform `Web`.
Because:
package:wp_json_api/wp_json_api.dart
that imports:package:wp_json_api/networking/network_manager.dart
that imports:package:wp_json_api/models/wp_user.dart
that imports:package:nylo_support/helpers/model.dart
that imports:package:nylo_support/helpers/ny_logger.dart
that imports:package:nylo_support/helpers/helper.dart
that imports:package:nylo_support/nylo.dart
that imports:package:nylo_support/networking/ny_api_service.dart
that imports:package:nylo_support/networking/dio_api_service.dart
that imports:package:nylo_support/helpers/ny_cache.dart
that imports:package:path_provider/path_provider.dart
that declares support for platforms:Android
,iOS
,Windows
,Linux
,macOS
.
These issues are present but do not affect the score, because they may not originate in your package:
Package does not support platform `Android`.
Because:
package:wp_json_api/wp_json_api.dart
that imports:package:wp_json_api/networking/network_manager.dart
that imports:package:wp_json_api/models/wp_user.dart
that imports:package:nylo_support/helpers/model.dart
that imports:package:nylo_support/helpers/ny_logger.dart
that imports:package:nylo_support/helpers/helper.dart
that imports:package:nylo_support/nylo.dart
that imports:package:flutter_local_notifications/flutter_local_notifications.dart
that imports:package:flutter_local_notifications/src/notification_details.dart
that imports:package:flutter_local_notifications_linux/flutter_local_notifications_linux.dart
that declares support for platforms:Linux
.
Package does not support platform `iOS`.
Because:
package:wp_json_api/wp_json_api.dart
that imports:package:wp_json_api/networking/network_manager.dart
that imports:package:wp_json_api/models/wp_user.dart
that imports:package:nylo_support/helpers/model.dart
that imports:package:nylo_support/helpers/ny_logger.dart
that imports:package:nylo_support/helpers/helper.dart
that imports:package:nylo_support/nylo.dart
that imports:package:flutter_local_notifications/flutter_local_notifications.dart
that imports:package:flutter_local_notifications/src/notification_details.dart
that imports:package:flutter_local_notifications_linux/flutter_local_notifications_linux.dart
that declares support for platforms:Linux
.
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.
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 9 issues. Showing the first 2:
ERROR: The method 'package' isn't defined for the type 'Nylo'.
lib/wp_json_api.dart:63:12
╷
63 │ Nylo.package();
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/wp_json_api.dart
INFO: Use 'isEmpty' instead of 'length' to test whether the collection is empty.
lib/models/responses/wc_customer_info_response.dart:114:9
╷
114 │ metaData.value!.length < 1) {
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/models/responses/wc_customer_info_response.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
collection |
^1.17.0 |
1.19.0 | 1.19.1 |
dio |
^5.7.0 |
5.7.0 | 5.7.0 |
flutter |
flutter |
0.0.0 | 0.0.0 |
nylo_support |
^6.7.0 |
6.12.2 | 6.12.2 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
animate_do |
- | 3.3.4 | 3.3.4 |
app_badge_plus |
- | 1.1.6 | 1.1.6 |
args |
- | 2.6.0 | 2.6.0 |
async |
- | 2.12.0 | 2.12.0 |
base58check |
- | 2.0.0 | 2.0.0 |
bech32 |
- | 0.2.2 | 0.2.2 |
characters |
- | 1.3.0 | 1.4.0 |
clock |
- | 1.1.1 | 1.1.2 |
convert |
- | 3.1.2 | 3.1.2 |
crypto |
- | 3.0.6 | 3.0.6 |
date_field |
- | 6.0.0 | 6.0.0 |
dbus |
- | 0.7.10 | 0.7.10 |
dio_web_adapter |
- | 2.0.0 | 2.0.0 |
equatable |
- | 2.0.7 | 2.0.7 |
error_stack |
- | 1.9.0 | 1.9.0 |
ffi |
- | 2.1.3 | 2.1.3 |
file |
- | 7.0.1 | 7.0.1 |
fixnum |
- | 1.1.1 | 1.1.1 |
flutter_dotenv |
- | 5.2.1 | 5.2.1 |
flutter_local_notifications |
- | 18.0.1 | 18.0.1 |
flutter_local_notifications_linux |
- | 5.0.0 | 5.0.0 |
flutter_local_notifications_platform_interface |
- | 8.0.0 | 8.0.0 |
flutter_localizations |
- | 0.0.0 | 0.0.0 |
flutter_multi_formatter |
- | 2.13.0 | 2.13.0 |
flutter_secure_storage |
- | 9.2.2 | 9.2.2 |
flutter_secure_storage_linux |
- | 1.2.1 | 1.2.1 |
flutter_secure_storage_macos |
- | 3.1.2 | 3.1.2 |
flutter_secure_storage_platform_interface |
- | 1.1.2 | 1.1.2 |
flutter_secure_storage_web |
- | 1.2.1 | 1.2.1 |
flutter_secure_storage_windows |
- | 3.1.2 | 3.1.2 |
flutter_staggered_grid_view |
- | 0.7.0 | 0.7.0 |
flutter_styled_toast |
- | 2.2.1 | 2.2.1 |
flutter_timezone |
- | 4.0.0 | 4.0.0 |
flutter_web_plugins |
- | 0.0.0 | 0.0.0 |
get_time_ago |
- | 2.1.1 | 2.1.1 |
http |
- | 1.2.2 | 1.2.2 |
http_parser |
- | 4.1.1 | 4.1.1 |
intl |
- | 0.19.0 | 0.20.1 |
js |
- | 0.6.7 | 0.7.1 |
mask_text_input_formatter |
- | 2.9.0 | 2.9.0 |
material_color_utilities |
- | 0.11.1 | 0.12.0 |
meta |
- | 1.15.0 | 1.16.0 |
path |
- | 1.9.0 | 1.9.1 |
path_provider |
- | 2.1.5 | 2.1.5 |
path_provider_android |
- | 2.2.15 | 2.2.15 |
path_provider_foundation |
- | 2.4.1 | 2.4.1 |
path_provider_linux |
- | 2.2.1 | 2.2.1 |
path_provider_platform_interface |
- | 2.1.2 | 2.1.2 |
path_provider_windows |
- | 2.3.0 | 2.3.0 |
petitparser |
- | 6.0.2 | 6.0.2 |
platform |
- | 3.1.6 | 3.1.6 |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 |
pretty_dio_logger |
- | 1.4.0 | 1.4.0 |
pull_to_refresh_flutter3 |
- | 2.0.2 | 2.0.2 |
recase |
- | 4.1.0 | 4.1.0 |
rxdart |
- | 0.28.0 | 0.28.0 |
shared_preferences |
- | 2.3.4 | 2.3.4 |
shared_preferences_android |
- | 2.4.0 | 2.4.0 |
shared_preferences_foundation |
- | 2.5.4 | 2.5.4 |
shared_preferences_linux |
- | 2.4.1 | 2.4.1 |
shared_preferences_platform_interface |
- | 2.4.1 | 2.4.1 |
shared_preferences_web |
- | 2.4.2 | 2.4.2 |
shared_preferences_windows |
- | 2.4.1 | 2.4.1 |
skeletonizer |
- | 1.4.2 | 1.4.2 |
sky_engine |
- | 0.0.0 | 0.0.0 |
source_span |
- | 1.10.1 | 1.10.1 |
sprintf |
- | 7.0.0 | 7.0.0 |
string_scanner |
- | 1.4.1 | 1.4.1 |
term_glyph |
- | 1.2.2 | 1.2.2 |
theme_provider |
- | 0.6.0 | 0.6.0 |
timezone |
- | 0.10.0 | 0.10.0 |
typed_data |
- | 1.4.0 | 1.4.0 |
url_launcher |
- | 6.3.1 | 6.3.1 |
url_launcher_android |
- | 6.3.14 | 6.3.14 |
url_launcher_ios |
- | 6.3.2 | 6.3.2 |
url_launcher_linux |
- | 3.2.1 | 3.2.1 |
url_launcher_macos |
- | 3.2.2 | 3.2.2 |
url_launcher_platform_interface |
- | 2.3.2 | 2.3.2 |
url_launcher_web |
- | 2.3.3 | 2.3.3 |
url_launcher_windows |
- | 3.1.3 | 3.1.3 |
uuid |
- | 4.5.1 | 4.5.1 |
validated |
- | 2.0.0 | 2.0.0 |
vector_math |
- | 2.1.4 | 2.1.4 |
web |
- | 1.1.0 | 1.1.0 |
win32 |
- | 5.9.0 | 5.9.0 |
xdg_directories |
- | 1.1.0 | 1.1.0 |
xml |
- | 6.5.0 | 6.5.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
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade
does not expose any static analysis error.
Analyzed with Pana 0.22.17
, Flutter 3.27.0
, Dart 3.6.0
.
Check the analysis log for details.