json_api_server 0.0.4

  • README.md
  • Example
  • Installing
  • Versions
  • new53

json-api-server-dart #

example/README.md

JSON:API examples #

Cars Server #

This is a simple JSON:API server which is used in the tests. It provides an API to a collection to car companies and models. You can run it locally to play around.

Fetch example #

With the server running, call

dart example/fetch_collection.dart

This will make a fetchCollection() call and print the response.

Use this package as a library

1. Depend on it

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


dependencies:
  json_api_server: ^0.0.4

2. Install it

You can install packages from the command line:

with pub:


$ pub get

with Flutter:


$ flutter packages get

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

3. Import it

Now in your Dart code, you can use:


import 'package:json_api_server/json_api_server.dart';
  
Version Uploaded Documentation Archive
0.0.4 Apr 14, 2019 Go to the documentation of json_api_server 0.0.4 Download json_api_server 0.0.4 archive
0.0.3 Apr 14, 2019 Go to the documentation of json_api_server 0.0.3 Download json_api_server 0.0.3 archive
0.0.2 Mar 29, 2019 Go to the documentation of json_api_server 0.0.2 Download json_api_server 0.0.2 archive
0.0.1 Mar 29, 2019 Go to the documentation of json_api_server 0.0.1 Download json_api_server 0.0.1 archive
Popularity:
Describes how popular the package is relative to other packages. [more]
19
Health:
Code health derived from static analysis. [more]
100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
70
Overall:
Weighted score of the above. [more]
53
Learn more about scoring.

We analyzed this package on Apr 22, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.2.0
  • pana: 0.12.14

Platforms

Detected platforms: Flutter, other

Primary library: package:json_api_server/json_api_server.dart with components: io.

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.

Package is pre-v0.1 release. (-10 points)

While nothing is inherently wrong with versions of 0.0.*, it might mean that the author is still experimenting with the general direction of the API.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.1.0 <3.0.0
http ^0.12.0 0.12.0+2
json_api_document ^1.0.2 1.0.2
Transitive dependencies
async 2.2.0
charcode 1.1.2
collection 1.14.11
http_parser 3.1.3
meta 1.1.7
path 1.6.2
pedantic 1.5.0
source_span 1.5.5
string_scanner 1.0.4
term_glyph 1.1.0
typed_data 1.1.6
Dev dependencies
json_api ^1.0.0
json_matcher ^0.2.3
test ^1.3.0
uuid ^2.0.0