license_plate_api_sweden 1.0.4

  • Readme
  • Changelog
  • Example
  • Installing
  • 48

license_plate_api_sweden #

Ett Dart-paket for att leta upp tekniska detaljer om fordon som ar registrerade i sverige av sin registreringsskylt

license_plate_api_sweden ger ett enkelt satt att hitta bilinformation fran en registreringsskylt (registreringsnummer) av en bil registrerad i sverige

Detta kraver ett anvandarnamn och losenord, som ar tillgangligt gratis fran

English #

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

license_plate_api_sweden provides a simple way to find vehicle details from a license plate (registration number) of a car registered in sweden

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

Usage #

A simple usage example:

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

void main(List<String> arguments) async {
  // Usage:
  // dart bin/main.dart *REGISTRATION* *USERNAME* *PASSWORD*
  // *USERNAME* and *PASSWORD* are available from
  var vehicle = await RegCheck.LicensePlate(arguments[0],arguments[1],arguments[2]);
  print('Description: ${vehicle['Description']}');

which produces the following:

Description: OPEL MOKKA SE

Features and bugs #

Please file feature requests and bugs via the website

1.0.4 #

  • Mistake in example

1.0.3 #

  • Added dartdoc comments

1.0.2 #

  • Updated Readme

1.0.1 #

  • Updated compatibility

1.0.0 #

  • Initial version, created by Stagehand


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

void main(List<String> arguments) async {

  var vehicle = await RegCheck.LicensePlate(arguments[0],arguments[1],arguments[2]);
  print('Description: ${vehicle['Description']}');


Use this package as a library

1. Depend on it

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

  license_plate_api_sweden: ^1.0.4

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_sweden/license_plate_api_sweden.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 9, 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_sweden.dart. (-0.50 points)

Analysis of lib/license_plate_api_sweden.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.


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 1.15.0-nnbd
http_parser 3.1.4
meta 1.2.1
path 1.7.0
pedantic 1.9.1
source_span 1.7.0
string_scanner 1.0.5
term_glyph 1.1.0
typed_data 1.2.0 1.3.0-nnbd