pvip_api 0.2.0+1

pvip_api #

Dart API for PVIP Intercon (Intelbras / Dahua)

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:

  pvip_api: ^0.2.0+1

2. Install it

You can install packages from the command line:

with pub:

$ pub get

with Flutter:

$ flutter pub get

Alternatively, your editor might support pub get or flutter pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:

import 'package:pvip_api/pvip_api.dart';
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
Learn more about scoring.

We analyzed this package on Feb 27, 2020, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.7.1
  • pana: 0.13.5

Health suggestions

Fix lib/api/pvip_1000.dart. (-0.50 points)

Analysis of lib/api/pvip_1000.dart reported 1 hint:

line 143 col 11: The value of the local variable 'numberOfSupportedCameras' isn't used.

Format lib/api/pvip_session.dart.

Run dartfmt to format lib/api/pvip_session.dart.

Format lib/model/ip_camera.dart.

Run dartfmt to format lib/model/ip_camera.dart.

Fix additional 4 files with analysis or formatting issues.

Additional issues in the following files:

  • lib/model/login_response.dart (Run dartfmt to format lib/model/login_response.dart.)
  • lib/model/method_request.dart (Run dartfmt to format lib/model/method_request.dart.)
  • lib/model/method_request_type.dart (Run dartfmt to format lib/model/method_request_type.dart.)
  • lib/model/request_params.dart (Run dartfmt to format lib/model/request_params.dart.)

Maintenance issues and suggestions

Provide a file named CHANGELOG.md. (-20 points)

Changelog entries help developers follow the progress of your package. See the example generated by stagehand.

The package description is too short. (-13 points)

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

Maintain an example. (-10 points)

Create a short demo in the example/ directory to show how to use this package.

Common filename patterns include main.dart, example.dart, and pvip_api.dart. Packages with multiple examples should provide example/README.md.

For more information see the pub package layout conventions.


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.4.0 <3.0.0
collection ^1.14.12 1.14.12
crypto ^2.1.2 2.1.4
http ^0.12.0+2 0.12.0+4
json_serializable ^3.2.2 3.2.5
Transitive dependencies
_fe_analyzer_shared 1.0.3
analyzer 0.39.4
args 1.5.2
async 2.4.0
build 1.2.2
build_config 0.4.2
charcode 1.1.3
checked_yaml 1.0.2
convert 2.1.1
csslib 0.16.1
dart_style 1.3.3
glob 1.2.0
html 0.14.0+3
http_parser 3.1.3
js 0.6.1+1
json_annotation 3.0.1
logging 0.11.4
meta 1.1.8
node_interop 1.0.3
node_io 1.0.1+2
package_config 1.9.1
path 1.6.4
pub_semver 1.4.3
pubspec_parse 0.1.5
source_gen 0.9.5
source_span 1.6.0
string_scanner 1.0.5
term_glyph 1.1.0
typed_data 1.1.6
watcher 0.9.7+13
yaml 2.2.0
Dev dependencies
build_runner ^1.6.7
pedantic ^1.8.0+1 1.9.0
test any