在react-native / android中的单词Transliteration

时间:2018-03-09 08:44:44

标签: android react-native

我一直在尝试使用RESTful方法使用Google Transliterate API

所以,我遇到了这种URL格式:http://www.google.com/transliterate/indic?tlqt=1&langpair=en|hi&text=bharat%2Cindia&tl_app=3,它以下列格式返回JSON:

[
{
"ew" : "bharat",
"hws" : [
"भारत","भरत","भरात","भारात","बहरत",
]
},
{
"ew" : "india",
"hws" : [
"इंडिया","इन्डिया","इण्डिया","ईन्डिया","इनडिया",
]
},
] 

我的问题是,我如何在android或react-native中使用它作为API FORMAT

0 个答案:

没有答案