pixiv_dart_api 1.0.1 copy "pixiv_dart_api: ^1.0.1" to clipboard
pixiv_dart_api: ^1.0.1 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: ^1.0.1

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/dto/bookmark_detail.dart';
import 'package:pixiv_dart_api/dto/bookmark_detail.g.dart';
import 'package:pixiv_dart_api/dto/bookmark_tags.dart';
import 'package:pixiv_dart_api/dto/bookmark_tags.g.dart';
import 'package:pixiv_dart_api/dto/comments.dart';
import 'package:pixiv_dart_api/dto/comments.g.dart';
import 'package:pixiv_dart_api/dto/error_message.dart';
import 'package:pixiv_dart_api/dto/error_message.g.dart';
import 'package:pixiv_dart_api/dto/illust_detail.dart';
import 'package:pixiv_dart_api/dto/illust_detail.g.dart';
import 'package:pixiv_dart_api/dto/illusts.dart';
import 'package:pixiv_dart_api/dto/illusts.g.dart';
import 'package:pixiv_dart_api/dto/novel_js_data.dart';
import 'package:pixiv_dart_api/dto/novel_js_data.g.dart';
import 'package:pixiv_dart_api/dto/novels.dart';
import 'package:pixiv_dart_api/dto/novels.g.dart';
import 'package:pixiv_dart_api/dto/search_autocomplete.dart';
import 'package:pixiv_dart_api/dto/search_autocomplete.g.dart';
import 'package:pixiv_dart_api/dto/search_illust.dart';
import 'package:pixiv_dart_api/dto/search_illust.g.dart';
import 'package:pixiv_dart_api/dto/search_novel.dart';
import 'package:pixiv_dart_api/dto/search_novel.g.dart';
import 'package:pixiv_dart_api/dto/stamps.dart';
import 'package:pixiv_dart_api/dto/stamps.g.dart';
import 'package:pixiv_dart_api/dto/trending_tags.dart';
import 'package:pixiv_dart_api/dto/trending_tags.g.dart';
import 'package:pixiv_dart_api/dto/ugoira_metadata.dart';
import 'package:pixiv_dart_api/dto/ugoira_metadata.g.dart';
import 'package:pixiv_dart_api/dto/user_account.dart';
import 'package:pixiv_dart_api/dto/user_account.g.dart';
import 'package:pixiv_dart_api/dto/user_detail.dart';
import 'package:pixiv_dart_api/dto/user_detail.g.dart';
import 'package:pixiv_dart_api/dto/users.dart';
import 'package:pixiv_dart_api/dto/users.g.dart';
import 'package:pixiv_dart_api/entity/bookmark_tag.dart';
import 'package:pixiv_dart_api/entity/bookmark_tag.g.dart';
import 'package:pixiv_dart_api/entity/comment.dart';
import 'package:pixiv_dart_api/entity/comment.g.dart';
import 'package:pixiv_dart_api/entity/illust.dart';
import 'package:pixiv_dart_api/entity/illust.g.dart';
import 'package:pixiv_dart_api/entity/image_urls.dart';
import 'package:pixiv_dart_api/entity/image_urls.g.dart';
import 'package:pixiv_dart_api/entity/local_user.dart';
import 'package:pixiv_dart_api/entity/local_user.g.dart';
import 'package:pixiv_dart_api/entity/meta_page.dart';
import 'package:pixiv_dart_api/entity/meta_page.g.dart';
import 'package:pixiv_dart_api/entity/meta_single_page.dart';
import 'package:pixiv_dart_api/entity/meta_single_page.g.dart';
import 'package:pixiv_dart_api/entity/novel.dart';
import 'package:pixiv_dart_api/entity/novel.g.dart';
import 'package:pixiv_dart_api/entity/profile_image_urls.dart';
import 'package:pixiv_dart_api/entity/profile_image_urls.g.dart';
import 'package:pixiv_dart_api/entity/stamp.dart';
import 'package:pixiv_dart_api/entity/stamp.g.dart';
import 'package:pixiv_dart_api/entity/tag.dart';
import 'package:pixiv_dart_api/entity/tag.g.dart';
import 'package:pixiv_dart_api/entity/user.dart';
import 'package:pixiv_dart_api/entity/user.g.dart';
import 'package:pixiv_dart_api/entity/user_preview.dart';
import 'package:pixiv_dart_api/entity/user_preview.g.dart';
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/pixiv_api.dart';
import 'package:pixiv_dart_api/pixiv_auth.dart';