パッケージ、リポジトリ、アプリカテゴリを検索

パッケージ詳細v4.4.0

books_finder

Google Books API で本の検索を支援するライブラリ

AndroidiOSWebmacOSWindowsLinux
30日間ダウンロード
116
いいね数
25
Pub ポイント
160

パッケージをインストール

flutter pub add books_finder

パッケージ概要

公開情報に基づく選定ガイドです。参考としてご利用ください。

Books_Finder は、Google Books API との統合を簡素化することを目的とした Flutter/Dart パッケージです。タイトル、著者、または ISBN で本を検索し、詳細な本の情報を取得し、応答を効率的に処理するための明確で直感的なインターフェースを提供します。使いやすさを重視して設計されており、複雑な API 操作をシンプルなメソッドに抽象化しており、読書アプリ、図書館、教育ツールを開発する開発者にとって理想的です。Android、iOS、Web、macOS、Windows、Linux など複数のプラットフォームをサポートしており、広範な互換性を確保しています。

用途

  • タイトルまたは著者で本を検索する
  • 説明やカバーなどの本の詳細を取得する
  • リーディングアプリへの本検索の統合
  • 図書館管理システムの構築
  • 教育または研究ツールの作成

主な機能

  • Google Books のシンプルな API ラッパー
  • 複数の検索パラメータをサポートしています
  • クロスプラットフォーム互換性
  • 効率的な応答処理
  • 組み込みエラーマネジメント
  • 軽量で統合が簡単

適している対象

  • 書籍関連のアプリを開発する開発者
  • 教育プラットフォームの作成者
  • ライブラリアプリケーション開発者
  • API初心者が簡単な統合を求める

注意事項

  • API呼び出しにはインターネット接続が必要です
  • Google ブックス API の利用可能性に依存します
  • 高トラフィックアプリではレート制限の処理が必要になる場合があります
  • Google ブックスのデータソースに限定

元の README

関連するソースリポジトリの README 原文のスナップショットです。最新の内容はリポジトリをご覧ください。

books_finder

A library to help on the search for books on the Google Books Api.

Usage

First of all, import the library:

import 'package:books_finder/books_finder.dart';
Querying books

To query books, just call the function queryBooks:

final List<Book> books = await queryBooks(
 'twilight',
 queryType: QueryType.intitle,
 maxResults: 3,
 printType: PrintType.books,
 orderBy: OrderBy.relevance,
);

You can change a few parameters to make your query more specific:

Parameter Description Nullable
queryType Keywords to search in particular fields Yes
maxResults Set the max amount of results No
startIndex for pagination No
langRestrict Retrict the query to a specific language Yes
orderBy Order the query by newest or relevance Yes
printType Filter by books, magazines or both Yes
reschemeImageLinks Rescheme image urls from http to https No
Books

If you already have a Book object, you can call book.info to get all the book infos:

final info = book.info;
Parameter Description
title (String) Title of the book
subtitle (String) The subtile of the book
authors (List<String>) All the authors names
publisher (String) The publisher name
publishedDate (DateTime) The date it was published
rawPublishedDate (String) The date it was published in raw format
description (String) Description of the book
pageCount (int) The amount of pages
categories (List<String>) The categories the book is in
averageRating (double) The average rating of the book
ratingsCount (int) The amount of people that rated it
maturityRating (String) The maturity rating
contentVersion (String) The version of the content
industryIdentifier (List<IndustryIdentifier>) The identifiers of the book (isbn)
imageLinks (List<Map<String, Uri>>) The links with the avaiable image resources
language (String) The language code of the book

Acknowledgements

Issues and feedback

Please file issues, bugs, or feature requests in our issue tracker.

To contribute a change to this plugin open a pull request.

カテゴリー

依存関係

依存関係一覧 1 件

ソースリポジトリ

このパッケージを使用しているプロジェクト

データはまだありません。