IQ Bible

פרמיום
על ידי Jody Pike Méndez | מְעוּדכָּן hace un mes | Data
פּוֹפּוּלָרִיוּת

9.7 / 10

חֶבִיוֹן

243ms

רמת שירות

100%

Health Check

N/A

חזרה לכל הדיונים

get passages

Rapid account: Smeks 22
smeks22
hace 9 meses

Hi how can I reference your api to search for and return a passage. E.g searching for Matt. 28:18-20. I need a functionality like this, Thanks

Rapid account: Smeks 22
smeks22 Commented hace 9 meses

Thanks so much Jody. One last question, will this work for the audio bible api and is it possible to view the api meta data so that I can have a reference point?

Rapid account: Vibrantmiami
vibrantmiami Commented hace 9 meses

Hi Smeks22,

Thank you for using the IQ Bible API.

To get the verseIds for a citation, such as ‘Matt. 28:18-20’, you can parse the citation first to obtain the individual verseIds needed. Then, you just get the verses using the GetVerse endpoint. Or, alternatively, you could pull the entire chapter in one call and filter through the verses you want in your app.

Step 1 (Parse the citation):

Request:
GetParseCitation?citation=Matt. 28:18-20

Result:
{“bookName”:“Matthew”,“bookId”:“40”,“chapterId”:“028”,“verseIds”:[“40028018”,“40028019”,“40028020”]}

Step 2 (Extract the verses needed):

Requests:
GetVerse?verseId=40028018&versionId=kjv
GetVerse?verseId=40028019&versionId=kjv
GetVerse?verseId=40028020&versionId=kjv

For detailed information for these endpoints and more, take a look at the ‘About’ page, wherein full documentation is provided.

Let me know if you need further assistance.

Best regards,

Jody

הצטרף לדיון - הוסף תגובה למטה:

התחבר / הירשם כדי לפרסם תגובות חדשות