Skip to content
saturngod edited this page Aug 8, 2011 · 1 revision

##Get word

http://www.ornagai.com/index.php/api/word/q/englishword

http://www.ornagai.com/index.php/api/word/q/ျမန္မာစကားလံုး

Example

http://www.ornagai.com/index.php/api/word/q/test

http://www.ornagai.com/index.php/api/word/q/အေမ

By Page

Add page/{Page Number} after word. 1 Page have 10 words.

Example

http://www.ornagai.com/index.php/api/word/q/test/page/2

Unicode Data

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.

Total Result Count

Get Total result count

Example

http://www.ornagai.com/index.php/api/count/q/test

Format

Add format/json at the end for json. Default is XML.

Example

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

Clone this wiki locally