The API is stuctured in the following manner:
https://musical-disco-r4gwq6j79hpxj9-8000.app.github.dev/mbh/13154001a/?format=json
Where
- https://musical-disco-r4gwq6j79hpxj9-8000.app.github.dev/ will be https://localhost:8000/ if you are running on your local machine.
- 13 is the book number
- 154 is the chapter nmumber
- 001 is the verse number
- a and c toggles betweeen first and second half of the verse
- ?format=json can be replaced with ?format=api
You can run mahApi on your local machine or on GitHub Codespaces.
To run locally:
pip install -r requirements.txt
python manage.py collectstatic
python manage.py runserver
To run on GitHub Codespaces click the green button at the top in the same row of the repository name mahApi, select Codespaces and click on the plus button "+"