Buscar pacotes, repositórios e categorias de apps

Detalhes do pacotev4.4.0

books_finder

Uma biblioteca para ajudar na busca de livros na API do Google Books

AndroidiOSWebmacOSWindowsLinux
Downloads em 30 dias
116
Curtidas
25
Pontos Pub
160

Instalar pacote

flutter pub add books_finder

Visão geral do pacote

Orientação gerada a partir de informações públicas. Apenas para referência.

Books_Finder é um pacote Flutter/Dart projetado para simplificar a integração com a API do Google Livros. Ele fornece uma interface limpa e intuitiva para pesquisar livros por título, autor ou ISBN, buscar informações detalhadas sobre livros e lidar com respostas de forma eficiente. Criado com foco na facilidade de uso, ele abstrai interações complexas com a API em métodos simples, tornando-o ideal para desenvolvedores que criam aplicativos de leitura, bibliotecas ou ferramentas educacionais. O pacote suporta múltiplas plataformas, incluindo Android, iOS, Web, macOS, Windows e Linux, garantindo ampla compatibilidade.

Casos de uso

  • Pesquisar livros por título ou autor
  • Buscar detalhes do livro, como descrição e capa
  • Integrando a busca de livros em aplicativos de leitura
  • Construindo sistemas de gerenciamento de bibliotecas
  • Criando ferramentas educacionais ou de pesquisa

Principais recursos

  • Wrapper de API simples para Google Books
  • Suporta múltiplos parâmetros de pesquisa
  • Compatibilidade multiplataforma
  • Manuseio eficiente de respostas
  • Gerenciamento de erros embutido
  • Leve e fácil de integrar

Indicado para

  • Desenvolvedores construindo aplicativos relacionados a livros
  • Criadores de plataformas educacionais
  • Desenvolvedores de aplicativos de biblioteca
  • Iniciantes em API procurando integração simples

Considerações

  • Requer conexão com a internet para chamadas de API
  • Dependente da disponibilidade da API do Google Livros
  • Pode ser necessário o tratamento de limitação de taxa em aplicativos de alta trafegabilidade
  • Limitado à fonte de dados do Google Livros

README original

Snapshot do README original do repositório-fonte vinculado. Consulte o repositório para o conteúdo mais recente.

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.

Categorias

Dependências

Lista de dependências 1 itens

Repositório-fonte

Projetos que usam este pacote

Ainda não há dados.