Project

General

Profile

API » History » Version 2

« Previous - Version 2/3 (diff) - Next » - Current version
Luke Murphey, 08/31/2012 10:13 PM


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 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