CatechizeMe API
catechizeMe has an API for those who like to tinker and want to find new ways of using catechisms and technology. If you do come up with new ways to use catechisms using the APIs, I would be very interesting in hearing more about it.
Available Catechisms
In the examples below, wherever you see {CATECHISM_NAME}, you can replace it with one of the following:
| Catechism | {CATECHISM_NAME} |
| Westminster Shorter Catechism | westminster_short_catechism |
| Westminster Larger Catechism | westminster_larger_catechism |
| Heidelberg Catechism | heidelberg_catechism |
Note about JavaScript API
The Javascript versions of the API will return data in the JSON format.
Return Variable
If you would like to have the data returned in a specific JavaScript variable, you can include the variable parameter.
http://www.catechizeme.com/catechisms/
{CATECHISM_NAME}.js?variable=myVar
which would return something like:
var myVar = { ... }
Callback
If you would like data returned to invoke a specific callback method, you can include the callback parameter.
http://www.catechizeme.com/catechisms/
{CATECHISM_NAME}.js?callback=MyObject.doSomething
which would return something like:
MyObject.doSomething({ ... })
Catechism API
To access the catechism and all of it questions, you can use the Catechism API.
XML
http://www.catechizeme.com/catechisms/
{CATECHISM_NAME}.xml
JavaScript
http://www.catechizeme.com/catechisms/
{CATECHISM_NAME}.js
Individual Catechism Questions API
To access an individual catechism question, you can use the Catechism Question API.
XML
http://www.catechizeme.com/catechisms/
{CATECHISM_NAME}/questions/1.xml
JavaScript
http://www.catechizeme.com/catechisms/
{CATECHISM_NAME}/questions/1.js