Oratsouyts API
Common Parameters
date: In YYYY-MM-DD format (ex: 2011-01-06)format: format to return (XML, JSON and JSONP (js) are currently support.)ref: The reference for a give bible passage in URI. (ex: Mt+1:18-25)
Day Method
The Day method is the most common API call. It returns the information for a given calendar day.
Examples
The Oratsouyts for today (according to Pacific Standard Time)
Format: http://www.oratsouyts.com/day.<format>
Example: http://www.oratsouyts.com/day.json
The Oratsouyts information for a specific date.
Format: http://www.oratsouyts.com/day/<date>.<format>
Example: http://www.oratsouyts.com/day/2010-01-06.json
Week Method
The Week method will return all of the days with Oratsouyts information for the next 7 days.
Example
Format: http://www.oratsouyts.com/week.<format>
Example: http://www.oratsouyts.com/week.json
Calendar Method
The Calendar method will return all of the calendar dates which have Oratsouyts information for the current year. It is currently only available in JSON or JSONP (js).
Example
Format: http://www.oratouyts.com/calendar.<format>
Example: http://www.oratsouyts.com/calendar.js?callback=callback
Passage Method
The passage method will return all the bible passages for a given day.
Example
Format: http://www.oratouyts.com/day/<date>/passage.<format>
Example: http://www.oratsouyts.com/day/2011-01-06/passage.js?callback=callback
Passage Show Method
The passage show method will return the bible passage information for a given day and given passage.
Example
Format: http://www.oratouyts.com/day/<date>/passage/show/<ref>.<format> Example: http://www.oratsouyts.com/day/2011-01-06/passage/show/Mt+1%253A18-25.js?callback=callback