API¶
TextCritical.com will provide an API for AJAX support and for external resources to access the works.
Formats¶
The API will provide results in multiple formats:
- JSON
- XML
- TXT (human readable)
Endpoints¶
Index | provides a list of the endpoints in a machine readable way |
Docs | a non-machine readable web UI regarding the APIs (something like http://api.biblia.com/docs/) |
Greek/Parse: | return a parse of a word |
Greek/ConvertFromBetaCode | return a Unicode version of a beta-code string |
Greek/ConvertToBetaCode | return a beta-code version of a Unicode string |
Books/List | provide a list of the available books |
Book/<book_name> | provide information about the given book |
Book/Read/<book_name>/<chapter> | provide the given chapter of a book |
Book/Read/<book_name>/<chapter>/<verse> | provide the given verse of a book |