auto_api 0.0.1-alpha.3

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • 49

AutoApi

It automatically creates a client interface to call server's methods asynchronously

Initial state

  • hubs_inspector can get a description of the methods in hubs.
  • added tests 89% coverage.

1. Depend on it

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


dependencies:
  auto_api: "^0.0.1-alpha.3"

2. Install it

You can install packages from the command line:

with pub:


$ pub get

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

3. Import it

Now in your Dart code, you can use:


import 'package:auto_api/exceptions/exceptions.dart';

import 'package:auto_api/hub.dart';

import 'package:auto_api/hubs_inspector.dart';

import 'package:auto_api/serializer.dart';
        
Version Uploaded Documentation Archive
0.0.1-alpha.3 Jan 2, 2018 Go to the documentation of auto_api 0.0.1-alpha.3 Download auto_api 0.0.1-alpha.3 archive
0.0.1-alpha.2 Jan 2, 2018 Go to the documentation of auto_api 0.0.1-alpha.2 Download auto_api 0.0.1-alpha.2 archive
0.0.1-alpha.1 Jan 2, 2018 Go to the documentation of auto_api 0.0.1-alpha.1 Download auto_api 0.0.1-alpha.1 archive

Analysis

This feature is new.
We welcome feedback.
More details: scoring.

We analyzed this package, and provided a score, details, and suggestions below.

  • completed on Feb 3, 2018
  • Dart: 2.0.0-dev.20.0
  • pana: 0.10.1

Scores

Popularity:
Describes how popular the package is relative to other packages. [more]
0 / 100
Health:
Code health derived from static analysis. [more]
97 / 100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
98 / 100
Overall score:
Weighted score of the above. [more]
49

Platforms

Detected platforms: web, other

Platform components identified in package: mirrors.

Suggestions

  • Package is pre-release.

    Pre-release versions should be used with caution, their API may change in breaking ways.

  • Package is pre-v1 release.

    While there is nothing inherently wrong with versions of 0.*.*, it usually means that the author is still experimenting with the general direction API.

  • Maintain an example.

    Create a short demo in the example/ directory to show how to use this package. Common file name patterns include: main.dart, example.dart or you could also use auto_api.dart.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=1.23.0 <2.0.0
Dev dependencies
test ^0.12.0