|Daniel 9f9a62ceab||1 year ago|
|LICENSE||1 year ago|
|README.md||1 year ago|
|download.php||1 year ago|
|get.php||1 year ago|
|index.html||1 year ago|
|search.php||1 year ago|
Most of these files are not in production, and are obsolete. For info on Biblesearch, see https://code.heb12.com/Heb12/biblesearch
The Heb12 API is a handy web interface for some of the existing Heb12 tools.
First, start off by cloning the directory. If you don’t have Apache or an equivelant web server on your machine, then install it via these commands (Linux):
sudo apt install apache2 sudo apt install php
Then, navigate to
/var/www/html and use these commands to then install the Heb12 API:
git clone https://github.com/Heb12/api.git
*Note: If you want everything to be on the main html directory, then simply add a
to the end of the command.
Everything should be up and running at
localhost in your web browser.
The file with every translation is located here: http://heb12api.duckdns.org/translations.tar.gz
Create a folder in the main directory called
translations. Extract the tar contents directly into the directory you just created. This is what it should look like:
To install BibleSearch, run the following command in the
git clone https://code.theres.life/Heb12/BibleSearch.git
The API uses python-heb12 Bible CLI app written in python.
For the API to use this, a file called
get_random.py must be created
bref directory, with the contents:
import random_verse print(random_verse.randomVerseHuman())