dart_twitter_api 0.5.7+1 dart_twitter_api: ^0.5.7+1 copied to clipboard
A dart wrapper for using the Twitter API with well documented interfaces for every endpoint.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add dart_twitter_api
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
dart_twitter_api: ^0.5.7+1
Alternatively, your editor might support dart pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:dart_twitter_api/api/abstract_twitter_client.dart';
import 'package:dart_twitter_api/api/common/data/edit_control.dart';
import 'package:dart_twitter_api/api/common/data/edit_control.g.dart';
import 'package:dart_twitter_api/api/common/data/entities.dart';
import 'package:dart_twitter_api/api/common/data/entities.g.dart';
import 'package:dart_twitter_api/api/common/data/hashtag.dart';
import 'package:dart_twitter_api/api/common/data/hashtag.g.dart';
import 'package:dart_twitter_api/api/common/data/option.dart';
import 'package:dart_twitter_api/api/common/data/option.g.dart';
import 'package:dart_twitter_api/api/common/data/poll.dart';
import 'package:dart_twitter_api/api/common/data/poll.g.dart';
import 'package:dart_twitter_api/api/common/data/symbol.dart';
import 'package:dart_twitter_api/api/common/data/symbol.g.dart';
import 'package:dart_twitter_api/api/common/data/url.dart';
import 'package:dart_twitter_api/api/common/data/url.g.dart';
import 'package:dart_twitter_api/api/common/data/user_mention.dart';
import 'package:dart_twitter_api/api/common/data/user_mention.g.dart';
import 'package:dart_twitter_api/api/direct_messages/direct_messages_service.dart';
import 'package:dart_twitter_api/api/geo/data/bounding_box.dart';
import 'package:dart_twitter_api/api/geo/data/bounding_box.g.dart';
import 'package:dart_twitter_api/api/geo/data/coordinates.dart';
import 'package:dart_twitter_api/api/geo/data/coordinates.g.dart';
import 'package:dart_twitter_api/api/geo/data/place.dart';
import 'package:dart_twitter_api/api/geo/data/place.g.dart';
import 'package:dart_twitter_api/api/lists/data/paginated_twitter_lists.dart';
import 'package:dart_twitter_api/api/lists/data/paginated_twitter_lists.g.dart';
import 'package:dart_twitter_api/api/lists/data/twitter_list.dart';
import 'package:dart_twitter_api/api/lists/data/twitter_list.g.dart';
import 'package:dart_twitter_api/api/lists/lists_service.dart';
import 'package:dart_twitter_api/api/media/data/additional_media_info.dart';
import 'package:dart_twitter_api/api/media/data/additional_media_info.g.dart';
import 'package:dart_twitter_api/api/media/data/media.dart';
import 'package:dart_twitter_api/api/media/data/media.g.dart';
import 'package:dart_twitter_api/api/media/data/media_upload.dart';
import 'package:dart_twitter_api/api/media/data/media_upload.g.dart';
import 'package:dart_twitter_api/api/media/data/size.dart';
import 'package:dart_twitter_api/api/media/data/size.g.dart';
import 'package:dart_twitter_api/api/media/data/sizes.dart';
import 'package:dart_twitter_api/api/media/data/sizes.g.dart';
import 'package:dart_twitter_api/api/media/data/video_info.dart';
import 'package:dart_twitter_api/api/media/data/video_info.g.dart';
import 'package:dart_twitter_api/api/media/media_service.dart';
import 'package:dart_twitter_api/api/trends/data/trend.dart';
import 'package:dart_twitter_api/api/trends/data/trend.g.dart';
import 'package:dart_twitter_api/api/trends/data/trend_location.dart';
import 'package:dart_twitter_api/api/trends/data/trend_location.g.dart';
import 'package:dart_twitter_api/api/trends/data/trends.dart';
import 'package:dart_twitter_api/api/trends/data/trends.g.dart';
import 'package:dart_twitter_api/api/trends/trends_service.dart';
import 'package:dart_twitter_api/api/tweets/data/current_user_retweet.dart';
import 'package:dart_twitter_api/api/tweets/data/current_user_retweet.g.dart';
import 'package:dart_twitter_api/api/tweets/data/quoted_status_permalink.dart';
import 'package:dart_twitter_api/api/tweets/data/quoted_status_permalink.g.dart';
import 'package:dart_twitter_api/api/tweets/data/tweet.dart';
import 'package:dart_twitter_api/api/tweets/data/tweet.g.dart';
import 'package:dart_twitter_api/api/tweets/data/tweet_search.dart';
import 'package:dart_twitter_api/api/tweets/data/tweet_search.g.dart';
import 'package:dart_twitter_api/api/tweets/timeline_service.dart';
import 'package:dart_twitter_api/api/tweets/tweet_search_service.dart';
import 'package:dart_twitter_api/api/tweets/tweet_service.dart';
import 'package:dart_twitter_api/api/twitter_client.dart';
import 'package:dart_twitter_api/api/users/data/derived.dart';
import 'package:dart_twitter_api/api/users/data/derived.g.dart';
import 'package:dart_twitter_api/api/users/data/friendship.dart';
import 'package:dart_twitter_api/api/users/data/friendship.g.dart';
import 'package:dart_twitter_api/api/users/data/location.dart';
import 'package:dart_twitter_api/api/users/data/location.g.dart';
import 'package:dart_twitter_api/api/users/data/paginated_ids.dart';
import 'package:dart_twitter_api/api/users/data/paginated_ids.g.dart';
import 'package:dart_twitter_api/api/users/data/paginated_users.dart';
import 'package:dart_twitter_api/api/users/data/paginated_users.g.dart';
import 'package:dart_twitter_api/api/users/data/relationship.dart';
import 'package:dart_twitter_api/api/users/data/relationship.g.dart';
import 'package:dart_twitter_api/api/users/data/relationship_entity.dart';
import 'package:dart_twitter_api/api/users/data/relationship_entity.g.dart';
import 'package:dart_twitter_api/api/users/data/user.dart';
import 'package:dart_twitter_api/api/users/data/user.g.dart';
import 'package:dart_twitter_api/api/users/data/user_entities.dart';
import 'package:dart_twitter_api/api/users/data/user_entities.g.dart';
import 'package:dart_twitter_api/api/users/user_service.dart';
import 'package:dart_twitter_api/twitter_api.dart';