Project

General

Profile

API » History » Version 2

Version 1 (Luke Murphey, 08/31/2012 10:12 PM) → Version 2/3 (Luke Murphey, 08/31/2012 10:13 PM)

h1. API

TextCritical.com will provide an API for AJAX support and for external resources to access the works.

h2. Formats

The API will provide results in multiple formats:


* JSON
* XML
* TXT (human readable)

h2. 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 pare 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 |