pixiv_dart_api 2.1.4 pixiv_dart_api: ^2.1.4 copied to clipboard
Pixiv Dart API
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add pixiv_dart_api
With Flutter:
$ flutter pub add pixiv_dart_api
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
pixiv_dart_api: ^2.1.4
Alternatively, your editor might support dart pub get
or flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:pixiv_dart_api/enums.dart';
import 'package:pixiv_dart_api/interceptors/auth_token_interceptor.dart';
import 'package:pixiv_dart_api/interceptors/retry_interceptor.dart';
import 'package:pixiv_dart_api/model/bookmark_tag.dart';
import 'package:pixiv_dart_api/model/bookmark_tag.g.dart';
import 'package:pixiv_dart_api/model/comment.dart';
import 'package:pixiv_dart_api/model/comment.g.dart';
import 'package:pixiv_dart_api/model/illust.dart';
import 'package:pixiv_dart_api/model/illust.g.dart';
import 'package:pixiv_dart_api/model/image_urls.dart';
import 'package:pixiv_dart_api/model/image_urls.g.dart';
import 'package:pixiv_dart_api/model/live.dart';
import 'package:pixiv_dart_api/model/live.g.dart';
import 'package:pixiv_dart_api/model/local_user.dart';
import 'package:pixiv_dart_api/model/local_user.g.dart';
import 'package:pixiv_dart_api/model/meta_page.dart';
import 'package:pixiv_dart_api/model/meta_page.g.dart';
import 'package:pixiv_dart_api/model/meta_single_page.dart';
import 'package:pixiv_dart_api/model/meta_single_page.g.dart';
import 'package:pixiv_dart_api/model/novel.dart';
import 'package:pixiv_dart_api/model/novel.g.dart';
import 'package:pixiv_dart_api/model/profile_image_urls.dart';
import 'package:pixiv_dart_api/model/profile_image_urls.g.dart';
import 'package:pixiv_dart_api/model/stamp.dart';
import 'package:pixiv_dart_api/model/stamp.g.dart';
import 'package:pixiv_dart_api/model/tag.dart';
import 'package:pixiv_dart_api/model/tag.g.dart';
import 'package:pixiv_dart_api/model/thumbnail.dart';
import 'package:pixiv_dart_api/model/thumbnail.g.dart';
import 'package:pixiv_dart_api/model/user.dart';
import 'package:pixiv_dart_api/model/user.g.dart';
import 'package:pixiv_dart_api/model/user_preview.dart';
import 'package:pixiv_dart_api/model/user_preview.g.dart';
import 'package:pixiv_dart_api/pixiv_api.dart';
import 'package:pixiv_dart_api/pixiv_auth.dart';
import 'package:pixiv_dart_api/vo/bookmark_detail_result.dart';
import 'package:pixiv_dart_api/vo/bookmark_detail_result.g.dart';
import 'package:pixiv_dart_api/vo/bookmark_tag_page_result.dart';
import 'package:pixiv_dart_api/vo/bookmark_tag_page_result.g.dart';
import 'package:pixiv_dart_api/vo/comment_add_result.dart';
import 'package:pixiv_dart_api/vo/comment_add_result.g.dart';
import 'package:pixiv_dart_api/vo/comment_page_result.dart';
import 'package:pixiv_dart_api/vo/comment_page_result.g.dart';
import 'package:pixiv_dart_api/vo/error_message.dart';
import 'package:pixiv_dart_api/vo/error_message.g.dart';
import 'package:pixiv_dart_api/vo/illust_detail_result.dart';
import 'package:pixiv_dart_api/vo/illust_detail_result.g.dart';
import 'package:pixiv_dart_api/vo/illust_page_result.dart';
import 'package:pixiv_dart_api/vo/illust_page_result.g.dart';
import 'package:pixiv_dart_api/vo/live_detail_result.dart';
import 'package:pixiv_dart_api/vo/live_detail_result.g.dart';
import 'package:pixiv_dart_api/vo/live_page_result.dart';
import 'package:pixiv_dart_api/vo/live_page_result.g.dart';
import 'package:pixiv_dart_api/vo/novel_js_data.dart';
import 'package:pixiv_dart_api/vo/novel_js_data.g.dart';
import 'package:pixiv_dart_api/vo/novel_page_result.dart';
import 'package:pixiv_dart_api/vo/novel_page_result.g.dart';
import 'package:pixiv_dart_api/vo/page_list.dart';
import 'package:pixiv_dart_api/vo/search_autocomplete_result.dart';
import 'package:pixiv_dart_api/vo/search_autocomplete_result.g.dart';
import 'package:pixiv_dart_api/vo/search_illust_page_result.dart';
import 'package:pixiv_dart_api/vo/search_illust_page_result.g.dart';
import 'package:pixiv_dart_api/vo/search_novel_page_result.dart';
import 'package:pixiv_dart_api/vo/search_novel_page_result.g.dart';
import 'package:pixiv_dart_api/vo/stamp_list_result.dart';
import 'package:pixiv_dart_api/vo/stamp_list_result.g.dart';
import 'package:pixiv_dart_api/vo/trending_tag_list_result.dart';
import 'package:pixiv_dart_api/vo/trending_tag_list_result.g.dart';
import 'package:pixiv_dart_api/vo/ugoira_metadata_result.dart';
import 'package:pixiv_dart_api/vo/ugoira_metadata_result.g.dart';
import 'package:pixiv_dart_api/vo/user_account_result.dart';
import 'package:pixiv_dart_api/vo/user_account_result.g.dart';
import 'package:pixiv_dart_api/vo/user_detail_result.dart';
import 'package:pixiv_dart_api/vo/user_detail_result.g.dart';
import 'package:pixiv_dart_api/vo/user_page_result.dart';
import 'package:pixiv_dart_api/vo/user_page_result.g.dart';