OkayAPI Docs


API Path: /api/Ext/Pinyin/Convert

API Description: 将一段汉字串内容转成拼音

2
API Traffic
HTTP/HTTPS
Protocol
GET/POST
Method
UTF-8
Charset
JSON
Response

API Debug   


API Params

ParameterTypeRequiredDefaultNoteDescription
HTTP_APPKEYStringRequiredMIN: 32Common Put Your APPKEY
textStringRequired待转为拼音的字符串内容

API Debug

KEYREQUIREDVALUE
app_key *Required
text *Required

API Response

KEYTypeDescription
pinyinString拼音字符串,用空格隔开

HTTP Response Code

HTTP Status CodeDescription
Http Status = 200Success
Http Status = 400表示客户端参数错误
Http Status = 404表示接口服务不存在
Http Status = 500表示服务端内部错误