Public
Like
bible-sdk
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Viewing readonly version of main branch: v33View latest version
Add Bible text to your website or web app without having to worry about licensing and legal issues surrounding Bible text.
This is a type-safe Bible SDK to use in your web apps and websites.
OpenAPI spec (created based on https://bible.helloao.org/docs/reference) + apigen-ts = FreeUseBibleSDK
Bible text comes from the Free Use Bible API, generously provided by AO Lab.
import { FreeUseBibleSDK } from "https://esm.town/v/cameronpak/bible-sdk/bible-sdk.ts";
const client = new FreeUseBibleSDK({
baseUrl: "https://bible.helloao.org/",
});
const chapterResponse = await client.general.getChapterFromTranslation(
"BSB",
"Romans",
8,
);
console.log(chapterResponse);
// > Therefore, there is now no condemnation for those who are in Christ Jesus...