https://github.com/timharek/openlibrary
API client for OpenLibrary's API for searching books, authors etc.
https://github.com/timharek/openlibrary
api api-client books cli deno openlibrary typescript
Last synced: 2 months ago
JSON representation
API client for OpenLibrary's API for searching books, authors etc.
- Host: GitHub
- URL: https://github.com/timharek/openlibrary
- Owner: timharek
- License: gpl-3.0
- Created: 2023-01-15T17:43:08.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-06T17:38:52.000Z (9 months ago)
- Last Synced: 2025-05-06T09:04:03.630Z (2 months ago)
- Topics: api, api-client, books, cli, deno, openlibrary, typescript
- Language: TypeScript
- Homepage:
- Size: 88.9 KB
- Stars: 1
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
[](https://jsr.io/@timharek/openlibrary)
[](https://git.sr.ht/~timharek/openlibrary)
[](https://github.com/timharek/openlibrary)[](https://builds.sr.ht/~timharek/openlibrary?)
# OpenLibrary API client
API client for [OpenLibrary](https://openlibrary.org/developers/api)'s API for
searching books, authors etc.## Installation
```bash
deno add @timharek/openlibrary
# or using NPM
npx jsr add @timharek/openlibrary
# or using Bun
bunx jsr add @timharek/openlibrary
```## Examples
```typescript
import { book } from "jsr:@timharek/openlibrary";const result = await book.get("OL17914663W");
``````typescript
import { book } from "jsr:@timharek/openlibrary";const result = await book.search("All Systems Red");
```