~timharek/openlibrary

API client for OpenLibrary's API for searching books, authors etc.
chore: Forgot to update version
Merge branch 'shayypy/main'

clone

read-only
https://git.sr.ht/~timharek/openlibrary
read/write
git@git.sr.ht:~timharek/openlibrary

You can also use your local clone with git send-email.

JSR sourcehut GitHub mirror

builds.sr.ht status

#OpenLibrary API client

API client for OpenLibrary's API for searching books, authors etc.

#Installation

deno add @timharek/openlibrary
# or using NPM
npx jsr add @timharek/openlibrary
# or using Bun
bunx jsr add @timharek/openlibrary

#Examples

import { book } from "jsr:@timharek/openlibrary";

const result = await book.get("OL17914663W");
import { book } from "jsr:@timharek/openlibrary";

const result = await book.search("All Systems Red");