LDSTechForumProjects

Church Historical Timeline API

Church Historical Timeline Index edit

RESTful API

In general, the timeline API will provide a generic API layer that multiple clients can call for timeline and event information. One client is the SIMILE timeline widget, but potential clients could include:

  • Event Maps - display a map showing the progression of the saints as they moved westward and where various events occurred along the way; temples built around the globe since the restoration
  • iPhone - show listing of events in chronological order on a handheld device
  • search - show specific events over a timeline or group of timelines (earthquakes, volcanoes, and tornadoes in the last 20 years)
  • ward & stake histories (currently submitted as word documents to the history department - perhaps in the future they are submitted as timelines and wiki pages)

General API Information

Currently, XML and JSON are used for data interchange with the timeline API. The format can be chosen using the Accept and Content-Type HTTP headers. For clients that cannot set HTTP headers easily, appending .xml or .json to the resource uri should also work.

For example, if I wanted to get a list of timelines in JSON, I could use a header:

GET /timelines HTTP/1.1
Accept: application/json

or I could append .json to the end of the resource uri:

GET /timelines.json HTTP/1.1

If I needed XML, I could use a header:

GET /timelines HTTP/1.1
Accept: application/xml

or I could append .xml to the end of the resource uri:

GET /timelines.xml HTTP/1.1

API Modules

Timeline API

Event API

Identity API

This page was last modified on 7 April 2010, at 10:14.

Note: Content found in this wiki may not always reflect official Church information. See Terms of Use.