license_plate_api_usa 1.1.0

  • Readme
  • Changelog
  • Installing
  • 53

license_plate_api_usa #

A Dart package for looking up technical details on vehicles registered in the USA by their license plate

license_plate_api_usa provides a simple way to find vehicle details from a license plate of a car, motorbike, or truck registered in the United States.

This requires a username and password, which is available for free from

Usage #

A simple usage example:

import 'package:license_plate_api_usa/license_plate_api_usa.dart' as RegCheck;

void main(List<String> arguments) async {
  // Usage:
  // dart bin/main.dart *PLATE* *STATE* *USERNAME* *PASSWORD*
  // Where *PLATE* and *STATE* are the US license plate of the vehicle
  // *USERNAME* and *PASSWORD* are available from
  var vehicle = await RegCheck.LicensePlateUSA(arguments[0],arguments[1],arguments[2],arguments[3]);
  print('Description: ${vehicle['Description']}');
  print('VIN: ${vehicle['VechileIdentificationNumber']}');

which produces the following:

Description: 2004 Dodge Durango Limited
VIN: 1D8HB58D04F177301

Features and bugs #

Please file feature requests and bugs via the website

1.1.0 #

  • Adding dartdoc

1.0.4 #

  • Bug fix

1.0.3 #

  • Bug fix

1.0.2 #

  • Updated Readme

1.0.1 #

  • Updated compatibility

1.0.0 #

  • Initial version, created by Stagehand

Use this package as a library

1. Depend on it

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

  license_plate_api_usa: ^1.1.0

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:license_plate_api_usa/license_plate_api_usa.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 Jul 3, 2020, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.8.4
  • pana: 0.13.13

Health suggestions

Fix lib/license_plate_api_usa.dart. (-0.50 points)

Analysis of lib/license_plate_api_usa.dart reported 1 hint:

line 5 col 1: The class 'Future' wasn't exported from 'dart:core' until version 2.1, but this code is required to be able to run on earlier versions.

Maintenance issues and suggestions

Homepage URL doesn't exist. (-20 points)

At the time of the analysis the homepage field was unreachable.

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 license_plate_api_usa.dart. Packages with multiple examples should provide example/

For more information see the pub package layout conventions.


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=1.8.0 <3.0.0
http ^0.12.1 0.12.1
Transitive dependencies
charcode 1.1.3
collection 1.14.13
http_parser 3.1.4
meta 1.1.8
path 1.7.0
pedantic 1.9.0 1.9.1
source_span 1.7.0
string_scanner 1.0.5
term_glyph 1.1.0
typed_data 1.2.0