Last active
June 3, 2024 20:14
-
-
Save danott/615135 to your computer and use it in GitHub Desktop.
YouVersion.com URL Abbreviations
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*! | |
* youversion_abbreviations.js | |
* JSON of YouVersion.com Bible Book URL Abbreviations. | |
*/ | |
var books = { | |
'gen': 'Genesis', | |
'exo': 'Exodus', | |
'lev': 'Leviticus', | |
'num': 'Numbers', | |
'deu': 'Deuteronomy', | |
'jos': 'Joshua', | |
'jdg': 'Judges', | |
'rut': 'Ruth', | |
'1sa': '1 Samuel', | |
'2sa': '2 Samuel', | |
'1ki': '1 Kings', | |
'2ki': '2 Kings', | |
'1ch': '1 Chronicles', | |
'2ch': '2 Chronicles', | |
'ezr': 'Ezra', | |
'neh': 'Nehemiah', | |
'est': 'Esther', | |
'job': 'Job', | |
'psa': 'Psalm', | |
'pro': 'Proverbs', | |
'ecc': 'Ecclesiastes', | |
'sng': 'Song of Solomon', | |
'isa': 'Isaiah', | |
'jer': 'Jeremiah', | |
'lam': 'Lamentations', | |
'ezk': 'Ezekiel', | |
'dan': 'Daniel', | |
'hos': 'Hosea', | |
'jol': 'Joel', | |
'amo': 'Amos', | |
'oba': 'Obadiah', | |
'jon': 'Jonah', | |
'mic': 'Micah', | |
'nam': 'Nahum', | |
'hab': 'Habakkuk', | |
'zep': 'Zephaniah', | |
'hag': 'Haggai', | |
'zec': 'Zechariah', | |
'mal': 'Malachi', | |
'mat': 'Matthew', | |
'mrk': 'Mark', | |
'lke': 'Luke', | |
'jhn': 'John', | |
'act': 'Acts', | |
'rom': 'Romans', | |
'1co': '1 Corinthians', | |
'2co': '2 Corinthians', | |
'gal': 'Galatians', | |
'eph': 'Ephesians', | |
'php': 'Philippians', | |
'col': 'Colossians', | |
'1th': '1 Thessalonians', | |
'2th': '2 Thessalonians', | |
'1ti': '1 Timothy', | |
'2ti': '2 Timothy', | |
'tit': 'Titus', | |
'phm': 'Philemon', | |
'heb': 'Hebrews', | |
'jas': 'James', | |
'1pe': '1 Peter', | |
'2pe': '2 Peter', | |
'1jn': '1 John', | |
'2jn': '2 John', | |
'3jn': '3 John', | |
'jud': 'Jude', | |
'rev': 'Revelation' | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I wrote script to fetch the abbreviations from Bible.com in case they've changed again. This needs to be run from a browser developer console with a bible.com page loaded. You have to specify the Bible version. I doubt the abbreviations are different per version but they could be in theory.
There is an official api available as well: https://scripture.api.bible/