discord_api 0.1.0 copy "discord_api: ^0.1.0" to clipboard
discord_api: ^0.1.0 copied to clipboard

A pure dart package wrapping the discord API

17
likes
120/ 160
pub points
43
downloads

We analyzed this package 6 days ago, and awarded it 120 pub points (of a possible 160):

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

Failed check 0/10 points: Provide a valid pubspec.yaml

The package description is too short.

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

Failed to verify repository URL.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: discord_api,
    • contains a version property, and,
    • does not contain a publish_to property.

pubspec.yaml from the repository URL mismatch: expected https://github.com/MeixDev/discord_api_flutter but got https://github.com/MeixDev/discord_api.

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: GPL-3.0.

Failed report section
Provide documentation
10 / 20trigger folding of the section

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

596 out of 1582 API elements (37.7 %) have documentation comments.

Some symbols that are missing documentation: discord_api, discord_api.ApiValue, discord_api.ApiValue.toApiString, discord_api.ApiValue.toType, discord_api.DiscordActivity.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

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

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

Passed check 0/0 points: WASM compatibility

This package is compatible with runtime wasm, and will be rewarded additional points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

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

/tmp/pana_IOBCIT/lib/src/models/discord_stage_instance.dart doesn't match the Dart formatter.

To format your files run: dart format .

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
dio ^4.0.4 4.0.6 5.8.0+1
Transitive dependencies
Package Constraint Compatible Latest Notes
collection - 1.19.1 1.19.1
http_parser - 4.1.2 4.1.2
path - 1.9.1 1.9.1
source_span - 1.10.1 1.10.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

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

The constraint `^4.0.4` on dio does not support the stable version `5.0.0`.

Try running dart pub upgrade --major-versions dio 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.22.20, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
Jul 14Aug 11Sep 8Oct 6Nov 3Dec 1Dec 29Jan 26Feb 23Mar 230510152025>=0.0.0-0 <1.0.0
17
likes
120
points
43
downloads

Publisher

verified publishermeix.dev

Weekly Downloads

2024.09.30 - 2025.04.14

A pure dart package wrapping the discord API

Documentation

API reference

License

GPL-3.0 (license)

Dependencies

dio

More

Packages that depend on discord_api