Brasilapi.Isbn.Book (BrasilAPI v0.1.5)

View Source

Represents a book with complete information from ISBN lookup.

Contains detailed book metadata including title, authors, publisher, synopsis, dimensions, and other bibliographic information.

Summary

Functions

Creates a Book struct from API response data.

Types

t()

@type t() :: %Brasilapi.Isbn.Book{
  authors: [String.t()] | nil,
  cover_url: String.t() | nil,
  dimensions: Brasilapi.Isbn.Dimensions.t() | nil,
  format: String.t() | nil,
  isbn: String.t() | nil,
  location: String.t() | nil,
  page_count: integer() | nil,
  provider: String.t() | nil,
  publisher: String.t() | nil,
  retail_price: number() | nil,
  subjects: [String.t()] | nil,
  subtitle: String.t() | nil,
  synopsis: String.t() | nil,
  title: String.t() | nil,
  year: integer() | nil
}

Functions

from_map(map)

@spec from_map(map()) :: t()

Creates a Book struct from API response data.