polybrainz_polymarket 2.0.2 copy "polybrainz_polymarket: ^2.0.2" to clipboard
polybrainz_polymarket: ^2.0.2 copied to clipboard

A comprehensive Dart wrapper for the Polymarket API including Gamma, CLOB, Data APIs and WebSocket streams.

140/ 160
pub points
623
downloads

We analyzed this package 1 hour ago, and awarded it 140 pub points (of a possible 160):

Passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Passed report section
Provide documentation
20 / 20trigger folding of the section

Passed check 10/10 points: 20% or more of the public API has dartdoc comments

1092 out of 1854 API elements (58.9 %) have documentation comments.

Some symbols that are missing documentation: polybrainz_polymarket.Activity.Activity.fromJson, polybrainz_polymarket.Activity.Activity.new, polybrainz_polymarket.Activity.asset, polybrainz_polymarket.Activity.bio, polybrainz_polymarket.Activity.conditionId.

Passed check 10/10 points: Package has an example

Passed report section
Platform support
20 / 20trigger folding of the section

Passed check 20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:polybrainz_polymarket/polybrainz_polymarket.dart that imports:
  • package:polybrainz_polymarket/src/websocket/websocket.dart that imports:
  • package:polybrainz_polymarket/src/websocket/clob_websocket.dart that imports:
  • package:polybrainz_polymarket/src/auth/auth_service.dart that imports:
  • package:polybrainz_polymarket/src/core/api_client.dart that imports:
  • dart:io
Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

INFO: Angle brackets will be interpreted as HTML.

lib/src/enums/category_detector.dart:446:22

    ╷
446 │ /// Extension on List<Event> to add category detection.
    │                      ^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/enums/category_detector.dart

INFO: Angle brackets will be interpreted as HTML.

lib/src/enums/category_detector.dart:464:22

    ╷
464 │ /// Extension on List<Market> to add category detection.
    │                      ^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/enums/category_detector.dart

Failed report section
Support up-to-date dependencies
30 / 40trigger folding of the section

Failed check 0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
bip32 ^2.0.0 2.0.0 2.0.0
bip39 ^1.0.6 1.0.6 1.0.6
convert ^3.1.1 3.1.2 3.1.2
crypto ^3.0.3 3.0.7 3.0.7
encrypt ^5.0.3 5.0.3 5.0.3
equatable ^2.0.5 2.0.8 2.0.8
http ^1.2.0 1.6.0 1.6.0
json_annotation ^4.9.0 4.10.0 4.10.0
pointycastle ^3.7.4 3.9.1 4.0.0
web3dart ^2.7.3 2.7.3 3.0.2
web_socket_channel ^3.0.0 3.0.3 3.0.3
Transitive dependencies
Package Constraint Compatible Latest Notes
args - 2.7.0 2.7.0
asn1lib - 1.6.5 1.6.5
async - 2.13.0 2.13.0
bs58check - 1.0.2 1.0.2
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
eip1559 - 0.6.2 0.6.2
eip55 - 1.0.2 1.0.3
fixnum - 1.1.1 1.1.1
hex - 0.2.0 0.2.0
http_parser - 4.1.2 4.1.2
js - 0.7.2 0.7.2 Discontinued
json_rpc_2 - 3.0.3 4.0.0
meta - 1.18.1 1.18.1
path - 1.9.1 1.9.1
sec - 1.1.0 1.1.1
source_span - 1.10.1 1.10.1
stack_trace - 1.12.1 1.12.1
stream_channel - 2.1.4 2.1.4
stream_transform - 2.1.1 2.1.1
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
uuid - 4.5.2 4.5.2
wallet - 0.0.13 0.0.18
web - 1.1.1 1.1.1
web_socket - 1.0.1 1.0.1

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

The constraint `^3.7.4` on pointycastle does not support the stable version `4.0.0`.

Try running dart pub upgrade --major-versions pointycastle to update the constraint.

The constraint `^2.7.3` on web3dart does not support the stable version `3.0.0`.

Try running dart pub upgrade --major-versions web3dart to update the constraint.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.8, Dart 3.10.8.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
1
likes
140
points
623
downloads

Publisher

verified publisherpolybrainz.bot

Weekly Downloads

A comprehensive Dart wrapper for the Polymarket API including Gamma, CLOB, Data APIs and WebSocket streams.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

bip32, bip39, convert, crypto, encrypt, equatable, http, json_annotation, pointycastle, web3dart, web_socket_channel

More

Packages that depend on polybrainz_polymarket