paypal_rest_api 1.0.0-dev+2

  • Installing
  • Versions
  • 0


version 1.0.0-dev

Unofficial Dart bindings for the PayPal REST API.

Use this package as a library

1. Depend on it

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

  paypal_rest_api: ^1.0.0-dev+2

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:paypal_rest_api/paypal_rest_api.dart';
Version Uploaded Documentation Archive
1.0.0-dev+2 Aug 28, 2016 Go to the documentation of paypal_rest_api 1.0.0-dev+2 Download paypal_rest_api 1.0.0-dev+2 archive
1.0.0-dev Aug 16, 2016 Go to the documentation of paypal_rest_api 1.0.0-dev Download paypal_rest_api 1.0.0-dev 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.

The package version is not analyzed, because it does not support Dart 2. Until this is resolved, the package will receive a health and maintenance score of 0.

Health issues and suggestions

Fix lib/src/apis/payments.dart. (-44.03 points)

Analysis of lib/src/apis/payments.dart failed with 2 errors, 1 hint:

line 37 col 24: Undefined name 'JSON'.

line 139 col 15: Undefined name 'JSON'.

line 6 col 8: Unused import: 'dart:convert'.

Fix lib/src/access_credentials.dart. (-25.38 points)

Analysis of lib/src/access_credentials.dart failed with 1 error, 1 hint:

line 18 col 24: Undefined name 'JSON'.

line 4 col 8: Unused import: 'dart:convert'.

Fix lib/src/paypal_exception.dart. (-25.38 points)

Analysis of lib/src/paypal_exception.dart failed with 1 error, 1 hint:

line 20 col 24: Undefined name 'JSON'.

line 4 col 8: Unused import: 'dart:convert'.

Fix lib/paypal_client.dart. (-25 points)

Analysis of lib/paypal_client.dart failed with 1 error:

line 57 col 22: Undefined name 'BASE64'.

Format lib/paypal_rest_api.dart.

Run dartfmt to format lib/paypal_rest_api.dart.

Maintenance issues and suggestions

Add SDK constraint in pubspec.yaml. (-50 points)

For information about setting SDK constraint, please see

Fix platform conflicts. (-20 points)

Low code quality prevents platform classification.

Package is too old. (-100 points)

The package was released more than two years ago.

Maintain (-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 paypal_rest_api.dart.

Package is pre-release. (-5 points)

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


Package Constraint Resolved Available
Direct dependencies
http >=0.11.3 <0.12.0 0.11.3+17 0.12.0
Transitive dependencies
async 2.0.8
charcode 1.1.2
collection 1.14.11
http_parser 3.1.3
meta 1.1.6
path 1.6.2
source_span 1.4.1
string_scanner 1.0.4
typed_data 1.1.6
Dev dependencies
test >=0.12.13 <0.13.0
yaml >=2.0.0 <3.0.0