get.php

URL

http://buddhistinformatics.ddbc.edu.tw/glossaries/api/get.php

參數

Argument Value(s) Description
term <string> 要查詢的詞條
type "match" | "all"
  • match: 詞條完全符合
  • all: 詞條完全或部份符合
jsoncallback <string> Required by third-party JavaScript libraries (e.g. EXT Js) to perform ajax functions. The value of jsoncallback has no effect on query processing, but will be attached to the beginning of the returned json string.

Return

回傳一個所有符合資料的 JSON 陣列。

範例

http://buddhistinformatics.ddbc.edu.tw/glossaries/api/get.php?type=all&term=菩薩

http://buddhistinformatics.ddbc.edu.tw/glossaries/api/get.php?type=match&term=菩薩&jsoncallback=myfunction


Creative Commons License The DDBC Glossaries Project from Dharma Drum Institute of Liberal Arts (法鼓文理學院)
is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.