-
Notifications
You must be signed in to change notification settings - Fork 21
Get Method
##Get word
http://www.ornagai.com/index.php/api/word/q/englishword
http://www.ornagai.com/index.php/api/word/q/ျမန္မာစကားလံုး
http://www.ornagai.com/index.php/api/word/q/test
http://www.ornagai.com/index.php/api/word/q/အေမ
Add page/{Page Number} after word. 1 Page have 10 words.
http://www.ornagai.com/index.php/api/word/q/test/page/2
Default encoding is zawgyi. If you want to get data with unicode , you can use encode/unicode in URI.
http://www.ornagai.com/index.php/api/word/q/test/encode/unicode
Searching can't search with unicode. It's only available for display.
Get Total result count
http://www.ornagai.com/index.php/api/count/q/test
Add format/json at the end for json. Default is XML.
http://www.ornagai.com/index.php/api/word/q/test/format/json
http://www.ornagai.com/index.php/api/word/q/test/page/2/format/json