Is there an API for Buddhist texts? Does anyone know of an API for Buddhist texts along the same lines as this one for the Bible. I do some spare time software projects and I would like to hook up to Buddhist text API just as part of playing around with some new technologies. Currently I'm using the Google Books API for it.

What I'm imaging is that one could make a web request to a URL such as http://buddhisttextapi/dhammapada/verse/12 and you would get back the 12th verse of the dhammapada in whatever translation. So for the technically minded I'm interested in some kind of REST API - preferably under active development or at least with some decent documentation.

Many Thanks
SC has a API. E.g. : https://suttacentral.net/data?suttas=dn1,dn2

Also see: https://discourse.suttacentral.net/t/suttacentral-api-apps/1927/8

Also the data is in Github. E.g. https://github.com/suttacentral/suttacentral-data/blob/master/text/en/pi/su/an/an1/an1.21-40.html 

Similarly you can download the whole Access to Insight website as files: http://www.accesstoinsight.org/tech/download/bulk.html