openai_dart 5.0.0 copy "openai_dart: ^5.0.0" to clipboard
openai_dart: ^5.0.0 copied to clipboard

Dart client for the OpenAI REST APIs and realtime WebSocket/WebRTC workflows with type-safe access to GPT, image, audio, and Responses APIs.

70/ 160
pub points
15.7k
downloads

We analyzed this package 1 hour ago, and awarded it 70 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.

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

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

Dependency resolution failed, unable to run dartdoc.

Passed check 10/10 points: Package has an example

Failed report section
Platform support
0 / 20trigger folding of the section

Failed check 0/20 points: Platform support detection failed

Could not determine supported platforms as package resolution failed.

Run dart pub get for more information.

Failed report section
Pass static analysis
0 / 50trigger folding of the section

Failed check 0/50 points: code has no errors, warnings, lints, or formatting issues

  • Running dart pub outdated failed with the following output:
Unable to parse output as JSON:
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

  • Could not run dart pub outdated: Unable to parse output as JSON:
OUT:
{
  "packages": [
    {
      "package": "async",
      "kind": "transitive",
      "isDiscontinued": false,
      "isCurrentRetracted": false,
      "isCurrentAffectedByAdvisory": false,
      "current": {
        "version": "2.13.1"
[241 more lines]
ERR:
Failed to decode advisories for http from https://20260423t074100-dot-dartlang-pub.appspot.com.
FormatException: advisoriesUpdated must be a String
package:pub/src/source/hosted.dart 670             HostedSource._extractAdvisoryDetailsForPackage
package:pub/src/source/hosted.dart 622             HostedSource._fetchAdvisories
===== asynchronous gap ===========================
package:pub/src/source/hosted.dart 839             HostedSource._getAdvisories
===== asynchronous gap ===========================
package:pub/src/command/outdated.dart 274          OutdatedCommand.runProtected.analyzeDependency
===== asynchronous gap ===========================
package:pub/src/command/outdated.dart 361          OutdatedCommand.runProtected
[12 more lines]

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.12, Dart 3.11.5.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
127
likes
70
points
15.7k
downloads

Documentation

Documentation

Publisher

verified publisherdavidmiguel.com

Weekly Downloads

Dart client for the OpenAI REST APIs and realtime WebSocket/WebRTC workflows with type-safe access to GPT, image, audio, and Responses APIs.

Homepage
Repository (GitHub)
View/report issues

Topics

#nlp #gen-ai #llms #openai #gpt

Funding

Consider supporting this project:

github.com

License

MIT (license)

Dependencies

http, http_parser, logging, meta, web_socket

More

Packages that depend on openai_dart