twitter_openapi_dart 0.0.11 copy "twitter_openapi_dart: ^0.0.11" to clipboard
twitter_openapi_dart: ^0.0.11 copied to clipboard

It is a Dart implementation of Twitter's internal API. It is available without special API tokens and also supports GraphQL endpoints.

0
likes
110/ 160
pub points
59
downloads

We analyzed this package 37 hours ago, and awarded it 110 pub points (of a possible 160):

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

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

0/10 points: Use an OSI-approved license

No license was recognized.

Consider using an OSI-approved license in the LICENSE file to make it more accessible to the community.

OK
Provide documentation
20 / 20trigger folding of the section

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

56 out of 166 API elements (33.7 %) have documentation comments.

Some symbols that are missing documentation: twitter_openapi_dart, twitter_openapi_dart.ApiUtilsRaw.entry, twitter_openapi_dart.ApiUtilsRaw.instruction, twitter_openapi_dart.ApiUtilsRawBuilder, twitter_openapi_dart.ApiUtilsRawBuilder.ApiUtilsRawBuilder.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

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:twitter_openapi_dart/twitter_openapi_dart.dart that imports:
  • package:twitter_openapi_dart/src/api.dart that imports:
  • package:dio_cookie_manager/dio_cookie_manager.dart that imports:
  • package:dio_cookie_manager/src/cookie_mgr.dart that imports:
  • package:cookie_jar/cookie_jar.dart that imports:
  • package:cookie_jar/src/serializable_cookie.dart that imports:
  • package:universal_io/io.dart that imports:
  • package:universal_io/src/_exports_in_browser.dart that imports:
  • package:universal_io/src/internet_address.dart that imports:
  • dart:io

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:twitter_openapi_dart/twitter_openapi_dart.dart that imports:
  • package:twitter_openapi_dart/src/api.dart that imports:
  • package:dio_cookie_manager/dio_cookie_manager.dart that imports:
  • package:dio_cookie_manager/src/cookie_mgr.dart that imports:
  • package:cookie_jar/cookie_jar.dart that imports:
  • package:cookie_jar/src/serializable_cookie.dart that imports:
  • package:universal_io/io.dart that imports:
  • package:universal_io/src/_exports_in_vm.dart that imports:
  • package:universal_io/src/new_universal_http_client.dart that imports:
  • package:universal_io/src/_helpers.dart that imports:
  • package:universal_io/src/_helpers_impl_elsewhere.dart that imports:
  • dart:io

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

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

partial
Pass static analysis
40 / 50trigger folding of the section

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

Found 19 issues. Showing the first 2:

INFO: 'whereNotNull' is deprecated and shouldn't be used. Use .nonNulls instead.

lib/src/api_util.dart:42:8

   ╷
42 │       .whereNotNull()
   │        ^^^^^^^^^^^^
   ╵

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

INFO: 'whereNotNull' is deprecated and shouldn't be used. Use .nonNulls instead.

lib/src/api_util.dart:43:24

   ╷
43 │       .expand((e) => e.whereNotNull())
   │                        ^^^^^^^^^^^^
   ╵

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

failed
Support up-to-date dependencies
10 / 40trigger folding of the section

0/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.3 8.9.3
collection >=1.15.0 <2.0.0 1.19.1 1.19.1
cookie_jar ^4.0.1 4.0.8 4.0.8
dio ^5.0.0 5.7.0 5.7.0
dio_cookie_manager ^3.0.0 3.1.1 3.1.1
intl >=0.17.0 <0.19.0 0.18.1 0.20.1
twitter_openapi_dart_generated ^0.0.14 0.0.14 0.0.14
Transitive dependencies
Package Constraint Compatible Latest
async - 2.12.0 2.12.0
boolean_selector - 2.1.2 2.1.2
clock - 1.1.2 1.1.2
dio_web_adapter - 2.0.0 2.0.0
fixnum - 1.1.1 1.1.1
http_parser - 4.1.1 4.1.1
matcher - 0.12.17 0.12.17
meta - 1.16.0 1.16.0
one_of - 1.5.0 1.5.0
one_of_serializer - 1.5.0 1.5.0
path - 1.9.1 1.9.1
quiver - 3.2.2 3.2.2
source_span - 1.10.1 1.10.1
stack_trace - 1.12.1 1.12.1
stream_channel - 2.1.3 2.1.3
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
test_api - 0.7.4 0.7.4
typed_data - 1.4.0 1.4.0
universal_io - 2.2.2 2.2.2
web - 1.1.0 1.1.0

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

The constraint `>=0.17.0 <0.19.0` on intl does not support the stable version `0.19.0`.

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

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

0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 3 errors:

  • UNDEFINED_METHOD - lib/src/api.dart:99:81 - The method 'Cookie' isn't defined for the type 'TwitterOpenapiDart'.
  • UNDEFINED_METHOD - lib/src/api.dart:133:55 - The method 'Cookie' isn't defined for the type 'TwitterOpenapiDart'.
  • UNDEFINED_METHOD - lib/src/api.dart:154:21 - The method 'Cookie' isn't defined for the type 'TwitterOpenapiDart'.

Run dart pub downgrade and then dart analyze to reproduce the above problem.

You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.

Analyzed with Pana 0.22.17, Dart 3.6.0.

Check the analysis log for details.

0
likes
110
points
59
downloads

Publisher

verified publisheryuki0311.com

Weekly Downloads

It is a Dart implementation of Twitter's internal API. It is available without special API tokens and also supports GraphQL endpoints.

Repository (GitHub)
View/report issues

Documentation

API reference

License

unknown (license)

Dependencies

built_collection, built_value, collection, cookie_jar, dio, dio_cookie_manager, intl, twitter_openapi_dart_generated

More

Packages that depend on twitter_openapi_dart