Phillip England
Webscape the KJV, WEBUS, and ASV versions of the bible, stash the verses into a sqlite database, and serve them via an API.
To install, run:
1git clone https://github.com/phillip-england/bible-bot
Start the program to scape The Bible from https://bible.com (this will take a few minutes), save the results in an sqlite db, and serve them on port 8080:
1cd bible-bot
2go run main.go
The API is structured as follows:
1/TRANSLATION/BOOK/CHAPTER/VERSE
To access Genesis 1:1 from the KJV, run (make sure the serve is running on port 8080):
1curl localhost:8080/KJV/GEN/1/1
Each book of The Bible has an abbreviated name, here are the abbreviations:
1Genesis:GEN
2Exodus:EXO
3Leviticus:LEV
4Numbers:NUM
5Deuteronomy:DEU
6Joshua:JOS
7Judges:JDG
8Ruth:RUT
91 Samuel:1SA
102 Samuel:2SA
111 Kings:1KI
122 Kings:2KI
131 Chronicles:1CH
142 Chronicles:2CH
15Ezra:EZR
16Nehemiah:NEH
17Esther:EST
18Job:JOB
19Psalms:PSA
20Proverbs:PRO
21Ecclesiastes:ECC
22Song of Solomon:SNG
23Isaiah:ISA
24Jeremiah:JER
25Lamentations:LAM
26Ezekiel:EZE
27Daniel:DAN
28Hosea:HOS
29Joel:JOL
30Amos:AMO
31Obadiah:OBA
32Jonah:JON
33Micah:MIC
34Nahum:NAH
35Habakkuk:HAB
36Zephaniah:ZEP
37Haggai:HAG
38Zechariah:ZEC
39Malachi:MAL
40Matthew:MAT
41Mark:MAR
42Luke:LUK
43John:JHN
44Acts:ACT
45Romans:ROM
461 Corinthians:1CO
472 Corinthians:2CO
48Galatians:GAL
49Ephesians:EPH
50Philippians:PHP
51Colossians:COL
521 Thessalonians:1TH
532 Thessalonians:2TH
541 Timothy:1TI
552 Timothy:2TI
56Titus:TIT
57Philemon:PHM
58Hebrews:HEB
59James:JAS
601 Peter:1PE
612 Peter:2PE
621 John:1JN
632 John:2JN
643 John:3JN
65Jude:JUD
66Revelation:REV