Free Use Bible API
Umhlahlandlela
Inkomba
Ama-SDK
GitHub
Nikela
  • English
  • Afrikaans
  • አማርኛ
  • العربية
  • বাংলা
  • Deutsch
  • Español
  • Français
  • Hausa
  • हिन्दी
  • Bahasa Indonesia
  • Italiano
  • 日本語
  • Português
  • Русский
  • Kiswahili
  • اردو
  • 简体中文
  • isiZulu
Umhlahlandlela
Inkomba
Ama-SDK
GitHub
Nikela
  • English
  • Afrikaans
  • አማርኛ
  • العربية
  • বাংলা
  • Deutsch
  • Español
  • Français
  • Hausa
  • हिन्दी
  • Bahasa Indonesia
  • Italiano
  • 日本語
  • Português
  • Русский
  • Kiswahili
  • اردو
  • 简体中文
  • isiZulu
  • Umhlahlandlela

    • Isingeniso
    • Ukuqalisa
    • Ukwenza Izicelo
    • Ukulanda
    • Isibonelo SeBhayibheli Sokunikeza Ilayisensi IBhayibheli

Ukwenza Izicelo

Ukuze ufinyelele i-API, okudingeka ukwenze nje ukwenza isicelo se-HTTP GET endaweni efanele.

Isibonelo, ukuze ufinyelele iphuzu lokugcina available_translations.json , ungasebenzisa umyalo olandelayo we-JavaScript noma we-cURL:

I-JavaScript
fetch(`https://bible.helloao.org/api/available_translations.json`)
    .then(request => request.json())
    .then(availableTranslations => {
        console.log('The API has the following translations:', availableTranslations);
    });
cURL
curl https://bible.helloao.org/api/available_translations.json

Ngezansi, ungathola uhlu lwezibonelo. Ukuze uthole imibhalo ephelele, bheka i- Reference Documentation .

Izibonelo

Thola Uhlu Lokuhumusha Okutholakalayo

( inkomba )

GET https://bible.helloao.org/api/available_translations.json

I-JavaScript
fetch(`https://bible.helloao.org/api/available_translations.json`)
    .then(request => request.json())
    .then(availableTranslations => {
        console.log('The API has the following translations:', availableTranslations);
    });
cURL
curl https://bible.helloao.org/api/available_translations.json

Bhala Izincwadi Ezihunyushweni

( inkomba )

GET https://bible.helloao.org/api/{translation}/books.json

I-JavaScript
// Thola uhlu lwezincwadi zokuhumusha i-BSB
fetch(`https://bible.helloao.org/api/BSB/books.json`)
    .then(request => request.json())
    .then(books => {
        console.log('The BSB has the following books:', books);
    });
cURL
curl https://bible.helloao.org/api/BSB/books.json

Thola Isahluko Esihunyushweni

( inkomba )

GET https://bible.helloao.org/api/{translation}/{book}/{chapter}.json

I-JavaScript
// Thola uGenesise 1 enguqulweni ye-BSB
fetch(`https://bible.helloao.org/api/BSB/GEN/1.json`)
    .then(request => request.json())
    .then(chapter => {
        console.log('Genesis 1 (BSB):', chapter);
    });
cURL
curl https://bible.helloao.org/api/BSB/GEN/1.json

Thola Isahluko Esenziwe Lula Enguqulweni

( inkomba )

GET https://bible.helloao.org/api/{translation}/{book}/{chapter}.simple.json

Sebenzisa lokhu uma ufuna umbhalo wesahluko kuphela. Ivesi ngalinye liqukethe umucu owodwa ongu text esikhundleni sohlu lokuqukethwe okufomethiwe, ngakho akudingeki ukuthi uzakhele umbhalo ngokwakho.

I-JavaScript
// Thola umbhalo kaGenesise 1 enguqulweni ye-BSB
fetch(`https://bible.helloao.org/api/BSB/GEN/1.simple.json`)
    .then(request => request.json())
    .then(chapter => {
        for (let content of chapter.chapter.content) {
            if (content.type === 'verse') {
                console.log(`${content.number}. ${content.text}`);
            }
        }
    });
cURL
curl https://bible.helloao.org/api/BSB/GEN/1.simple.json

Thola Uhlu Lwamazwana Atholakalayo

( inkomba )

I-JavaScript
fetch-commentaries.js
fetch(`https://bible.helloao.org/api/available_commentaries.json`)
    .then(request => request.json())
    .then(availableCommentaries => {
        console.log('The API has the following commentaries:', availableCommentaries);
    });
cURL
curl https://bible.helloao.org/api/available_commentaries.json

Bhala Izincwadi Kumazwana

( inkomba )

I-JavaScript
fetch-commentary-books.js
const commentary = 'adam-clarke';

// Thola uhlu lwezincwadi zokuphawula kuka-adam-clarke
fetch(`https://bible.helloao.org/api/c/${commentary}/books.json`)
    .then(request => request.json())
    .then(books => {
        console.log('The adam-clarke commentary has the following books:', books);
    });
cURL
curl https://bible.helloao.org/api/c/adam-clarke/books.json

Thola Isahluko Kumazwana

( inkomba )

I-JavaScript
fetch-commentary-chapter.js
const commentary = 'adam-clarke';
const book = 'GEN';
const chapter = 1;

// Thola uGenesise 1 kumazwana ka-adam-clarke
fetch(`https://bible.helloao.org/api/c/${commentary}/${book}/${chapter}.json`)
    .then(request => request.json())
    .then(chapter => {
        console.log('Genesis 1 (adam-clarke):', chapter);
    });
cURL
curl https://bible.helloao.org/api/c/adam-clarke/GEN/1.json

Bhala Amaphrofayili Kumazwana

( inkomba )

I-JavaScript
fetch-commentary-profiles.js
const commentary = 'tyndale';

// Thola uhlu lwamaphrofayili okuphawula kukaTyndale
fetch(`https://bible.helloao.org/api/c/${commentary}/profiles.json`)
    .then(request => request.json())
    .then(profiles => {
        console.log('The tyndale commentary has the following profiles:', profiles);
    });
cURL
curl https://bible.helloao.org/api/c/tyndale/profiles.json

Thola Iphrofayili Kumazwana

( inkomba )

I-JavaScript
fetch-commentary-profile.js
const commentary = 'tyndale';
const profile = 'aaron';

// Thola iphrofayela ka-aaron kumazwana ka-tyndale
fetch(`https://bible.helloao.org/api/c/${commentary}/profiles/${profile}.json`)
    .then(request => request.json())
    .then(profile => {
        console.log('The Aaron tyndale commentary profile:', profile);
    });
cURL
curl https://bible.helloao.org/api/c/tyndale/profiles/aaron.json

Thola uhlu lwamasethi edatha atholakalayo

( inkomba )

I-JavaScript
fetch-datasets.js
fetch(`https://bible.helloao.org/api/available_datasets.json`)
    .then(request => request.json())
    .then(availableDatasets => {
        console.log('The API has the following datasets:', availableDatasets);
    });
cURL
curl https://bible.helloao.org/api/available_datasets.json

Thola uhlu lwezincwadi kusethi yedatha

( inkomba )

I-JavaScript
fetch-dataset-books.js
const dataset = 'open-cross-ref';

// Thola uhlu lwezincwadi zedatha ye-open-cross-ref
fetch(`https://bible.helloao.org/api/d/${dataset}/books.json`)
    .then(request => request.json())
    .then(books => {
        console.log('The open-cross-ref dataset has the following books:', books);
    });
cURL
curl https://bible.helloao.org/api/d/open-cross-ref/books.json

Thola Isahluko ku-Dataset

( inkomba )

I-JavaScript
fetch-dataset-chapter.js
const dataset = 'open-cross-ref';
const book = 'GEN';
const chapter = 1;

// Thola uGenesise 1 kusethi yedatha ye-open-cross-ref
fetch(`https://bible.helloao.org/api/d/${dataset}/${book}/${chapter}.json`)
    .then(request => request.json())
    .then(chapter => {
        console.log('Genesis 1 (open-cross-ref):', chapter);
    });
cURL
curl https://bible.helloao.org/api/d/open-cross-ref/GEN/1.json
Prev
Ukuqalisa
Next
Ukulanda