API to access dictionary of Pali proper names

Hi, would anyone know where the data for this page comes from:

I’m trying to figure out how to programatically query this (and similar) data. Is there an API or something through which I can access Pali dictionary terms and proper names?

Any help would be appreciated. :slight_smile:

3 Likes

I believe that data is coming from this file (pretty big one, obviously):

https://raw.githubusercontent.com/suttacentral/sc-data/master/dictionaries/complex/en/pli2en_dppn.json

I don’t know if there is an API but the SC repository on Github has a wonderful collection of files like this:

Converting these from the originals must have been a huge amount of work!

3 Likes

Thank you so much, I’ll have a look. And absolutely, it’s only now that I appreciate just how much time and effort must have gone into this project!

1 Like

@chaz Does this help?

4 Likes

Suttacentral uses this API:

The above dictionary is loaded into the browser and requires no further network access.

5 Likes

Hi, I did have a look at that but khagga’s comment answered my question. Thank you very much. :pray:

4 Likes

Worth noting that while this data isn’t from the Dictionary of Pali Personal Names, it is super awesome (thanks for the pointer @karl_lew! :pray: ):

{
  "definition": "to be done or made; to be carried out; what is to be done, what should be done",
  "entry": "katabba",
  "grammar": "future passive participle adjective & neuter",
  "pronunciation": null,
  "xr": [
    "kātabba",
    "kata"
  ]
}

Very useful!

2 Likes