openai_sdk 0.0.1-dev.2 openai_sdk: ^0.0.1-dev.2 copied to clipboard
OpenAPI API client
We analyzed this package in the last hour, and awarded it 110 pub points (of a possible 140):
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 60 to 180 characters to describe the package, what it does, and its target use case.
Homepage URL doesn't exist.
At the time of the analysis https://flutter.tools
was unreachable. Make sure that the website is reachable via HEAD
requests.
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: BSD-3-Clause
.
10/10 points: 20% or more of the public API has dartdoc comments
482 out of 1079 API elements (44.7 %) have documentation comments.
Some symbols that are missing documentation: openai_sdk
, openai_sdk.ApiKeyAuthInterceptor
, openai_sdk.ApiKeyAuthInterceptor.ApiKeyAuthInterceptor
, openai_sdk.ApiKeyAuthInterceptor.apiKeys
, openai_sdk.BasicAuthInfo
.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
- ✓ Android
- ✓ iOS
- ✓ Windows
- ✓ Linux
- ✓ macOS
- ✓ Web
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 158 issues. Showing the first 2:
INFO: 'DioError' is deprecated and shouldn't be used. Use DioException instead. This will be removed in 6.0.0.
lib/src/api/open_ai_api.dart:65:15
╷
65 │ /// Throws [DioError] if API call or serialization fails
│ ^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/api/open_ai_api.dart
INFO: 'DioError' is deprecated and shouldn't be used. Use DioException instead. This will be removed in 6.0.0.
lib/src/api/open_ai_api.dart:106:13
╷
106 │ throw DioError(
│ ^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/api/open_ai_api.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
built_collection |
>=5.1.1 <6.0.0 |
5.1.1 | 5.1.1 |
built_value |
>=8.4.0 <9.0.0 |
8.9.2 | 8.9.2 |
dio |
^5.0.0 |
5.4.3+1 | 5.4.3+1 |
one_of |
>=1.5.0 <2.0.0 |
1.5.0 | 1.5.0 |
one_of_serializer |
>=1.5.0 <2.0.0 |
1.5.0 | 1.5.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
async |
- | 2.11.0 | 2.11.0 |
boolean_selector |
- | 2.1.1 | 2.1.1 |
collection |
- | 1.18.0 | 1.18.0 |
fixnum |
- | 1.1.0 | 1.1.0 |
http_parser |
- | 4.0.2 | 4.0.2 |
matcher |
- | 0.12.16+1 | 0.12.16+1 |
meta |
- | 1.15.0 | 1.15.0 |
path |
- | 1.9.0 | 1.9.0 |
quiver |
- | 3.2.1 | 3.2.1 |
source_span |
- | 1.10.0 | 1.10.0 |
stack_trace |
- | 1.11.1 | 1.11.1 |
stream_channel |
- | 2.1.2 | 2.1.2 |
string_scanner |
- | 1.2.0 | 1.2.0 |
term_glyph |
- | 1.2.1 | 1.2.1 |
test_api |
- | 0.7.1 | 0.7.1 |
typed_data |
- | 1.3.2 | 1.3.2 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
10/10 points: Package supports latest stable Dart and Flutter SDKs
Analyzed with Pana 0.22.3
, Dart 3.4.0
.
Check the analysis log for details.