패키지, 저장소 및 앱 카테고리 검색

패키지 상세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 사용 가능 여부에 따라 다름
  • 고-traffice 앱에서는 레이트 제한 처리가 필요할 수 있습니다
  • 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 개

소스 저장소

이 패키지를 사용하는 프로젝트

아직 데이터가 없습니다.