中英文排版規(guī)范化 API 接口
自動(dòng)中英文排版秕豫、標(biāo)點(diǎn)符號(hào)格式化朴艰。
1. 產(chǎn)品功能
支持中英文混排格式化观蓄;
自動(dòng)在漢字與英文字符、英文標(biāo)點(diǎn)祠墅、數(shù)字間添加空格侮穿;
中文標(biāo)點(diǎn)符號(hào)自動(dòng)規(guī)范化,遵從 [標(biāo)點(diǎn)符號(hào)用法 GB/T 15834 2011]毁嗦;
無意義的全角標(biāo)點(diǎn)以及英文字符亲茅、數(shù)字等自動(dòng)修正;
全接口支持 HTTPS(TLS v1.0 / v1.1 / v1.2 / v1.3)狗准;
全面兼容 Apple ATS克锣;
全國多節(jié)點(diǎn) CDN 部署;
接口極速響應(yīng)腔长,多臺(tái)服務(wù)器構(gòu)建 API 接口負(fù)載均衡袭祟。
2. API 文檔
API 詳情地址: https://www.gugudata.com/api/details/formatarticle
接口請求地址: https://api.gugudata.com/text/formatarticle
返回格式: application/json; charset=utf-8
請求方式: POST
請求協(xié)議: HTTPS
請求示例: https://api.gugudata.com/text/formatarticle
接口測試: https://api.gugudata.com/text/formatarticle/demo
3. 請求參數(shù)
參數(shù)名 | 參數(shù)類型 | 是否必須 | 默認(rèn)值 | 備注 |
---|---|---|---|---|
appkey | string | 是 | YOUR_APPKEY | 付費(fèi)后獲取的 APPKEY |
content | string | 是 | YOUR_VALUE | 需要格式化、規(guī)范化的內(nèi)容 |
4. 返回參數(shù)
參數(shù)名 | 參數(shù)類型 | 備注 |
---|---|---|
DataStatus.StatusCode | int | 接口返回狀態(tài)碼 |
DataStatus.StatusDescription | string | 接口返回狀態(tài)說明 |
DataStatus.ResponseDateTime | string | 接口數(shù)據(jù)返回時(shí)間 |
DataStatus.DataTotalCount | int | 此條件下的總數(shù)據(jù)量捞附,一般用于分頁計(jì)算 |
Data.SourceContent | string | 格式化巾乳、規(guī)范化前的內(nèi)容 |
Data.FormatContent | string | 格式化、規(guī)范化后的內(nèi)容 |