item_parser 0.0.1+1

furima_item_search #

Description #

API for searching items from Furima sites

Use this package as a library

1. Depend on it

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


dependencies:
  item_parser: ^0.0.1+1

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:item_parser/item.dart';
import 'package:item_parser/item_data_manager.dart';
import 'package:item_parser/item_page_data.dart';
import 'package:item_parser/localized_error.dart';
import 'package:item_parser/query.dart';
import 'package:item_parser/query_condition.dart';
import 'package:item_parser/site.dart';
  
Popularity:
Describes how popular the package is relative to other packages. [more]
0
Health:
Code health derived from static analysis. [more]
93
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
11
Overall:
Weighted score of the above. [more]
30
Learn more about scoring.

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

  • Dart: 2.4.0
  • pana: 0.12.19

Platforms

Detected platforms: Flutter, web, other

No platform restriction found in libraries.

Health issues and suggestions

Document public APIs. (-1 points)

106 out of 106 API elements have no dartdoc comment.Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API.

Fix lib/query_condition.dart. (-2.96 points)

Analysis of lib/query_condition.dart reported 6 hints, including:

line 6 col 10: This function has a return type of 'String', but doesn't end with a return statement.

line 17 col 10: This function has a return type of 'String', but doesn't end with a return statement.

line 48 col 10: This function has a return type of 'String', but doesn't end with a return statement.

line 57 col 10: This function has a return type of 'String', but doesn't end with a return statement.

line 84 col 10: This function has a return type of 'String', but doesn't end with a return statement.

Fix lib/item_data_manager.dart. (-1.99 points)

Analysis of lib/item_data_manager.dart reported 4 hints:

line 11 col 10: The class 'Future' was not exported from 'dart:core' until version 2.1, but this code is required to be able to run on earlier versions.

line 20 col 10: The class 'Future' was not exported from 'dart:core' until version 2.1, but this code is required to be able to run on earlier versions.

line 27 col 11: Use isNotEmpty instead of length

line 39 col 10: This function has a return type of 'List

Fix lib/site.dart. (-1 points)

Analysis of lib/site.dart reported 2 hints:

line 7 col 10: This function has a return type of 'String', but doesn't end with a return statement.

line 18 col 10: This function has a return type of 'String', but doesn't end with a return statement.

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

Analysis of lib/item_page_data.dart reported 1 hint:

line 21 col 3: This function has a return type of 'String', but doesn't end with a return statement.

Format lib/localized_error.dart.

Run dartfmt to format lib/localized_error.dart.

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.

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

At the time of the analysis the homepage field https://github.com/nam-dh/furima_item_search was unreachable.

Support latest dependencies. (-10 points)

The version constraint in pubspec.yaml does not support the latest published versions for 1 dependency (equatable).

The package description is too short. (-19 points)

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

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

For more information see the pub package layout conventions.

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.0.0 <3.0.0
equatable ^0.2.0 0.2.6 0.4.0
html ^0.14.0+2 0.14.0+2
http ^0.12.0+2 0.12.0+2
meta ^1.1.7 1.1.7
Transitive dependencies
async 2.3.0
charcode 1.1.2
collection 1.14.12
csslib 0.16.1
http_parser 3.1.3
path 1.6.4
pedantic 1.8.0+1
source_span 1.5.5
string_scanner 1.0.5
term_glyph 1.1.0
typed_data 1.1.6