Skip to content
On this page

@gracious.tech/fetch-client / client / BibleClient

Class: BibleClient

client.BibleClient

A client for interacting with a fetch(bible) CDN

Constructors

constructor

new BibleClient(config?)

Create a new BibleClient, defaulting to the official fetch(bible) collection

Parameters

NameType
configBibleClientConfig

Methods

fetch_collection

fetch_collection(): Promise<BibleCollection>

Fetch the collection's manifest and return a BibleCollection object for interacting with it

Returns

Promise<BibleCollection>