{"id":22007425,"url":"https://github.com/joshpetit/biblia-interface","last_synced_at":"2025-03-23T07:14:55.198Z","repository":{"id":40714668,"uuid":"276129905","full_name":"joshpetit/biblia-interface","owner":"joshpetit","description":"An interface for interacting with api.biblia.com","archived":false,"fork":false,"pushed_at":"2022-06-25T13:58:41.000Z","size":33,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-28T13:52:14.072Z","etag":null,"topics":["bible","bibles","biblia-interface","christian","proclaim","religion","verses"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/biblia-interface","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/joshpetit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-06-30T14:55:35.000Z","updated_at":"2024-12-27T02:20:42.000Z","dependencies_parsed_at":"2022-07-12T18:03:08.771Z","dependency_job_id":null,"html_url":"https://github.com/joshpetit/biblia-interface","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshpetit%2Fbiblia-interface","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshpetit%2Fbiblia-interface/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshpetit%2Fbiblia-interface/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshpetit%2Fbiblia-interface/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joshpetit","download_url":"https://codeload.github.com/joshpetit/biblia-interface/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245066712,"owners_count":20555430,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bible","bibles","biblia-interface","christian","proclaim","religion","verses"],"created_at":"2024-11-30T01:26:41.823Z","updated_at":"2025-03-23T07:14:55.175Z","avatar_url":"https://github.com/joshpetit.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# biblia-Interface\nbiblia-interface is an npm package written in TypeScript to help with easier interactions with the [bibliaapi](https://bibliaapi.com/docs/). It contains nearly full documentation for autocomplete and ease of use.\n*This FOSS package is not affiliated with the FaithLife corporation, but is meant to help with ease of use for their api*\n\n### Installation\n    npm install biblia-interface\n### Getting Started\n\n    let  { Biblia } = require('./index.js');\n    \n    //Takes an optional second parameter of a specific bible version, defaults to \"asv\"\n    let bible = new Biblia(\"\", \"byz\");\n    \n### Usage\nNearly every method takes an optional second object parameter with different formatting options offered by bibliaapi.\n### Getting a Passage (options)\n        bible.getPassage(\"Matthew 2:1-20\")\n    \t\t.then(res =\u003e{\n            \tconsole.log(res.text)\n        })\n### Getting a List and Description of Bibles (options)\n    //Returns an array of bibles with their information\n    bible.getBibles()\n        .then(res =\u003e {\n            console.log(res.bibles[0].title) // \"1890 Darby Bible\"\n        })\n### Getting an Updated list of Bible Names\nThis queries for all the bible names\n\n    bible.getBibleNames()\n        .then(res =\u003e {\n            console.log(res[0]) //darby\n        })\n### Scanning Text for Verses (options)\n    bible.scanText(\"I like Genesis 1:1 and Revelation 22:21 is cool!\")\n        .then(res =\u003e {\n            console.log(res.results[1].passage) //\"Revelation 22:21\"\n        })\n### Parsing Bible Verses (options)\n    bible.parseText(\"II Kgs 1:1-2, 3-5\")\n        .then(res =\u003e {\n            console.log(res.passages[1].passage) // \"2 Kings 1:3–5\"\n        })\n### Searching for text (options)\n    \n    bible.search(\"Abraham\", {limit: 5}) //The limit option only returns the first 5 results\n        .then(res =\u003e {\n            console.log(res.results[0].title) //\"Genesis 22:1\"\n        })\n### Compare Verses\n    bible.compare(\"Genesis 3:1\", \"Genesis 3:4\")\n        .then(res =\u003e {\n            console.log(res.equal); //false\n        })\n### Change the Bible version\n`bible.setBible(\"Bible_Version\")`\n\nFor more information on these services, visit the [bibliaapi docs](https://bibliaapi.com/docs/). If you find a bug or an improvement don't hesitate to send a pull request!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoshpetit%2Fbiblia-interface","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoshpetit%2Fbiblia-interface","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoshpetit%2Fbiblia-interface/lists"}