Created
January 24, 2011 02:45
-
-
Save sublee/792735 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ curl -H"Accept: application/json" "http://www.hangulize.org/langs" | |
{ | |
"length": 38, | |
"langs": [ | |
{ | |
"iso639-1": "az", | |
"iso639-2": "aze", | |
"code": "aze", | |
"name": "Azerbaijani", | |
"iso639-3": "aze" | |
}, | |
{ | |
"iso639-1": "be", | |
"iso639-2": "bel", | |
"code": "bel", | |
"name": "Belarusian", | |
"iso639-3": "bel" | |
}, | |
... | |
{ | |
"code": "wlm", | |
"name": "MiddleWelsh", | |
"iso639-3": "wlm" | |
} | |
], | |
"success": true | |
} | |
$ curl -H"Accept: application/x-plist" "http://www.hangulize.org/langs" | |
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>langs</key> | |
<array> | |
<dict> | |
<key>code</key> | |
<string>aze</string> | |
<key>iso639-1</key> | |
<string>az</string> | |
<key>iso639-2</key> | |
<string>aze</string> | |
<key>iso639-3</key> | |
<string>aze</string> | |
<key>name</key> | |
<string>Azerbaijani</string> | |
</dict> | |
<dict> | |
<key>code</key> | |
<string>bel</string> | |
<key>iso639-1</key> | |
<string>be</string> | |
<key>iso639-2</key> | |
<string>bel</string> | |
<key>iso639-3</key> | |
<string>bel</string> | |
<key>name</key> | |
<string>Belarusian</string> | |
</dict> | |
... | |
<dict> | |
<key>code</key> | |
<string>wlm</string> | |
<key>iso639-3</key> | |
<string>wlm</string> | |
<key>name</key> | |
<string>MiddleWelsh</string> | |
</dict> | |
</array> | |
<key>length</key> | |
<integer>38</integer> | |
<key>success</key> | |
<true/> | |
</dict> | |
</plist> | |
$ curl -H"Accept: application/json" "http://www.hangulize.org/?lang=mkd&word=%D0%94%D1%83%D1%88%D0%B0%D0%BD%20%D0%A1%D0%B0%D0%B2%D0%B8%D1%9C" | |
{ | |
"lang": { | |
"iso639-1": "mk", | |
"iso639-2": "mac", | |
"code": "mkd", | |
"name": "Macedonian", | |
"iso639-3": "mkd" | |
}, | |
"word": "\u0414\u0443\u0448\u0430\u043d \u0421\u0430\u0432\u0438\u045c", | |
"result": "\ub450\uc0e8 \uc0ac\ube44\uce58", | |
"success": true | |
} | |
$ curl -H"Accept: application/x-plist" "http://www.hangulize.org/?lang=mkd&word=%D0%94%D1%83%D1%88%D0%B0%D0%BD%20%D0%A1%D0%B0%D0%B2%D0%B8%D1%9C" | |
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>lang</key> | |
<dict> | |
<key>code</key> | |
<string>mkd</string> | |
<key>iso639-1</key> | |
<string>mk</string> | |
<key>iso639-2</key> | |
<string>mac</string> | |
<key>iso639-3</key> | |
<string>mkd</string> | |
<key>name</key> | |
<string>Macedonian</string> | |
</dict> | |
<key>result</key> | |
<string>두샨 사비치</string> | |
<key>success</key> | |
<true/> | |
<key>word</key> | |
<string>Душан Савиќ</string> | |
</dict> | |
</plist> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment