Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/deno_books/src/utils.ts>getRequest

API client for OpenLibrary's API for searching books, authors etc.
Latest
function getRequest
import { getRequest } from "https://deno.land/x/deno_books@v2.0.5/src/utils.ts";

Helper-function for a unified way of fetching JSON-data.

Parameters

url: string | URL

Returns

Promise<unknown>