twitter_api_core 1.8.3 copy "twitter_api_core: ^1.8.3" to clipboard
twitter_api_core: ^1.8.3 copied to clipboard

This package provides core reusable and useful functionality for wrapping Twitter API with Dart.

Release Note #

1.8.3 #

  • Supported language codes in Language.
    • qam for tweets with mentions only (works for tweets since 2022-06-14)
    • qct for tweets with cashtags only (works for tweets since 2022-06-14)
    • qht for tweets with hashtags only (works for tweets since 2022-06-14)
    • qme for tweets with media links (works for tweets since 2022-06-14)
    • qst for tweets with a very short text (works for tweets since 2022-06-14)
    • zxx for tweets with either media or Twitter Card only, without any additional text (works for tweets since 2022-06-14)

1.8.2 #

  • Fixed bug that retry count does not increment correctly.

1.8.1 #

  • Fixed internal process for Direct Messages service.

1.8.0 #

  • Fixed report name in UnauthorizedException.
  • The following conditions have been added as possible retry conditions.
    • When status code is 500 or 503.
    • When SocketException is thrown.

1.7.8 #

  • Improved DataNotFoundException.

1.7.7 #

  • Improved DataNotFoundException.

1.7.6 #

  • Improved UnauthorizedException.

1.7.5 #

  • Improved UnauthorizedException.

1.7.4 #

  • UnauthorizedException extended TwitterException.

1.7.3 #

  • TwitterUploadedException extended TwitterException.

1.7.2 #

  • Exposed http.BaseResponse.

1.7.1 #

  • Added DataNotFoundException.

1.7.0 #

  • Renamed from TweetLanguage to Language.

1.6.1 #

  • Added convenient utilities in TweetLanguage and Country enumerations.

1.6.0 #

  • Renamed enum from WithheldCountry to Country.

1.5.1 #

  • Added enums below.
    • WithheldCountry
    • TweetLanguage

1.5.0 #

  • Improved dependency structures.

1.4.4 #

  • Added and exposed json_annotation package.

1.4.3 #

  • Fixed RateLimitExceededException.

1.4.2 #

  • RateLimitExceededException extended TwitterException.
  • Exposed core packages.
  • Added JsonValue annotation for ISOAlpha2Country enum.

1.4.1 #

  • Added BCP47Language object.
  • Added ISOAlpha2Country object.

1.4.0 #

  • Removed deprecated methods in RetryConfig.
    • regularIntervals
    • exponentialBackOff
    • exponentialBackOffAndJitter

1.3.4 #

  • Fixed TwitterUploadException.

1.3.3 #

  • Fixed TwitterUploadException.

1.3.2 #

  • Added TwitterUploadException.

1.3.1 #

  • Added a serialization pattern.

1.3.0 #

  • Added a dependency of mime.dart and exposed lookupMimeType.

1.2.2 #

  • Fixed the internal process.

1.2.1 #

  • Fixed the type of body in StreamResponse from Future<Stream<Map<String, dynamic>>> to Stream<Map<String, dynamic>>.

1.2.0 #

  • Changed the response structure of stream and added StreamResponse. StreamResponse has headers and stream from response.

1.1.1 #

  • Improved ClientResolver.

1.1.0 #

  • Added UserContext.oauth1Only.

1.0.0 #

  • Upgrade as stable version.
  • Supported multi-part communication method.

0.0.10 #

  • Fixed structure.

0.0.9 #

  • Fixed structure.

0.0.8 #

  • Fixed structure.

0.0.7 #

  • Fixed structure.

0.0.6 #

  • Renamed ServiceHelper.

0.0.5 #

  • Refactored structures.

0.0.4 #

  • Fixed RetryConfig.

0.0.3 #

  • Exposed ClientContext.

0.0.2 #

  • Fixed documentations.

0.0.1 #

  • First Release
1
likes
150
points
165
downloads

Documentation

API reference

Publisher

verified publishershinyakato.dev

Weekly Downloads

This package provides core reusable and useful functionality for wrapping Twitter API with Dart.

Homepage
Repository (GitHub)
View/report issues

License

BSD-3-Clause (license)

Dependencies

freezed_annotation, http, mime, oauth1, universal_io

More

Packages that depend on twitter_api_core