twitter 1.0.0

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • 68

twitter.dart #

Build Status pub package

Twitter Library for Dart.

Example #

REST API #

import 'package:twitter/twitter.dart';

main () async {
  Twitter twitter= new Twitter('YOUR CONSUMER KEY', 'YOUR CONSUMER SERCRET',
                    'YOUR ACCESS TOKEN', 'YOUR ACCESS TOKEN SECERT');
  var response = await twitter.request("GET", "statuses/user_timeline.json");
  print(response.body);
  twitter.close();
}

TODO #

  • Write more detailed Example
  • Support Twitter Model

LICENSE #

MIT LICENSE

oauth.dart #

In this library, use oauth.dart in My repository. I fix it by develop original oauth 1 library.

1.0.0 #

  • remove straming API support
  • support dart 2.0

0.5.1 #

  • Fix error on mulitple request (#5)

0.5.0 #

  • Fix error on strong mode
  • Add Example

0.4.1 #

  • Update OAuth.dart

0.4.0 #

  • Support Twitter Streaming API

0.3.1 #

  • Fix sdk version

0.3.0 #

  • Update dependencies
    • OAuth.dart - using random.secure function for generate randombytes
  • Fix README

0.2.0 #

  • Remove library tag
  • Add Twitter.fromMap constrcutor
  • Fix README

0.1.1 #

  • Fix problem that a delay occurs
  • Using Completer for Error Processing

0.1.0 #

Initial Version

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  twitter: ^1.0.0

2. Install it

You can install packages from the command line:

with pub:


$ pub get

with Flutter:


$ flutter pub get

Alternatively, your editor might support pub get or flutter pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:twitter/twitter.dart';
  
Version Uploaded Documentation Archive
1.0.0 Dec 29, 2018 Go to the documentation of twitter 1.0.0 Download twitter 1.0.0 archive
0.5.2 Apr 9, 2018 Go to the documentation of twitter 0.5.2 Download twitter 0.5.2 archive
0.5.1 Jan 5, 2018 Go to the documentation of twitter 0.5.1 Download twitter 0.5.1 archive
0.5.0 Dec 21, 2017 Go to the documentation of twitter 0.5.0 Download twitter 0.5.0 archive
0.4.0 Feb 28, 2016 Go to the documentation of twitter 0.4.0 Download twitter 0.4.0 archive
0.3.1 Feb 28, 2016 Go to the documentation of twitter 0.3.1 Download twitter 0.3.1 archive
0.2.0+1 Feb 12, 2016 Go to the documentation of twitter 0.2.0+1 Download twitter 0.2.0+1 archive
0.2.0 Feb 12, 2016 Go to the documentation of twitter 0.2.0 Download twitter 0.2.0 archive
0.1.1 Sep 15, 2015 Go to the documentation of twitter 0.1.1 Download twitter 0.1.1 archive
0.1.0 Jul 12, 2015 Go to the documentation of twitter 0.1.0 Download twitter 0.1.0 archive
Popularity:
Describes how popular the package is relative to other packages. [more]
76
Health:
Code health derived from static analysis. [more]
100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
0
Overall:
Weighted score of the above. [more]
68
Learn more about scoring.

We analyzed this package on Jun 4, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.3.1
  • pana: 0.12.17

Platforms

Detected platforms: Flutter, other

Primary library: package:twitter/twitter.dart with components: io.

Maintenance issues and suggestions

Prefer published dependencies. (-100 points)

The source code in a git repository is mutable and could disappear.

Use constrained dependencies. (-20 points)

The pubspec.yaml contains 1 dependency without version constraints. Specify version ranges for the following dependencies: oauth.

Fix analysis_options.yaml.

The analyzer can't parse analysis_options.yaml.

The package description is too short. (-20 points)

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.

Maintain an example. (-10 points)

Create a short demo in the example/ directory to show how to use this package.

Common filename patterns include main.dart, example.dart, and twitter.dart. Packages with multiple examples should provide example/README.md.

For more information see the pub package layout conventions.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.1.0 <3.0.0
http >=0.11.2 <0.12.0 0.11.3+17 0.12.0+2
oauth 0.4.0
Transitive dependencies
async 2.2.0
charcode 1.1.2
collection 1.14.11
convert 2.1.1
crypto 2.0.6
http_parser 3.1.3
meta 1.1.7
path 1.6.2
pointycastle 1.0.1
source_span 1.5.5
string_scanner 1.0.4
term_glyph 1.1.0
typed_data 1.1.6
Dev dependencies
test ^1.5.1