oplibrary 0.0.3

  • README.md
  • Installing
  • Versions
  • new54


Package to interact with the OpenLibrary API.

Use this package as a library

1. Depend on it

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

  oplibrary: ^0.0.3

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:oplibrary/oplibrary.dart';
Version Uploaded Documentation Archive
0.0.3 Jan 8, 2019 Go to the documentation of oplibrary 0.0.3 Download oplibrary 0.0.3 archive
0.0.2 Jan 8, 2019 Go to the documentation of oplibrary 0.0.2 Download oplibrary 0.0.2 archive
0.0.1 Jan 8, 2019 Go to the documentation of oplibrary 0.0.1 Download oplibrary 0.0.1 archive
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 Jan 15, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.1.0
  • pana: 0.12.10


Detected platforms: Flutter, web, other

No platform restriction found in primary library package:oplibrary/oplibrary.dart.

Health issues and suggestions

Document public APIs. (-1 points)

23 out of 23 API elements (library, class, field or method) have no adequate dartdoc content. Good documentation improves code readability and discoverability through search.

Format lib/oplibrary.dart.

Run dartfmt to format lib/oplibrary.dart.

Format lib/src/models/document_search_result.dart.

Run dartfmt to format lib/src/models/document_search_result.dart.

Format lib/src/models/search_result_model.dart.

Run dartfmt to format lib/src/models/search_result_model.dart.

Maintenance issues and suggestions

Maintain CHANGELOG.md. (-20 points)

Changelog entries help clients to follow the progress in your code.

The description is too short. (-20 points)

Add more detail about the package, what it does and what is its target use case. Try to write at least 60 characters.

Maintain an example. (-10 points)

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 oplibrary.dart.

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

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


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0-dev.28.0 <3.0.0
http ^0.12.0 0.12.0+1
Transitive dependencies
async 2.0.8
charcode 1.1.2
collection 1.14.11
http_parser 3.1.3
meta 1.1.7
path 1.6.2
source_span 1.5.1
string_scanner 1.0.4
term_glyph 1.1.0
typed_data 1.1.6