免费分享Deepl和google谷歌翻译api接口

谷歌翻译API可以帮助用户在不同语言之间进行即时翻译,支持超过 200 种语言的互译功能。
接口亲测是可用,简单而且速度很快。专用跨境电商等业务。

接口地址:https://www.tanshuapi.com/market/detail-98

接口请求测试phthon示例:

import requests

url = "http://api.tanshuapi.com/api/translate/v1/index?key=key&type=deepl&from=&to=en&keywords="

payload={}
headers = {
   'User-Agent': ''
}

response = requests.request("GET", url, headers=headers, data=payload)

print(response.text)

返回说明

{
    "code": 1,
    "msg": "操作成功",
    "data": {
        "text": "The data shows the annual number of foreign students in Japan from 1978 to 2021. In 2021, the total number of foreign students in Japan was 242,400, declining for two consecutive years. The statistical unit of data is: person. How many foreign students are there in Japan? In 2021, the total number of foreign students in Japan was 242,400, declining for two consecutive years; among them, the number of foreign students in higher education institutions was 201,900, and the number of foreign students in Japanese language education institutions was 40,600. 2019 is the year with the largest number of foreign students in Japan, with the total number exceeding 300,000."
    }
}

text为翻译后的文本内容。
原文:
数据为1978年到2021年日本每年外国留学生人数统计。2021年,日本外国留学生总数为24.24万人,连续两年出现下降。 数据统计单位为:人 日本的外国留学生有多少? 2021年,日本外国留学生总数为24.24万人,连续两年出现下降;其中,在高等教育机构的外国留学生人数为20.19万人,在日语教育机构的外国留学生人数为4.06万人。 2019年是日本外国留学生人数最多的一年,总数突破30万人。

翻译后:
The data shows the annual number of foreign students in Japan from 1978 to 2021. In 2021, the total number of foreign students in Japan was 242,400, declining for two consecutive years. The statistical unit of data is: person. How many foreign students are there in Japan? In 2021, the total number of foreign students in Japan was 242,400, declining for two consecutive years; among them, the number of foreign students in higher education institutions was 201,900, and the number of foreign students in Japanese language education institutions was 40,600. 2019 is the year with the largest number of foreign students in Japan, with the total number exceeding 300,000."

相关推荐

  1. 免费分享Deeplgoogle翻译api接口

    2024-01-26 17:36:01       35 阅读
  2. 翻译接口-国内使用在线翻译API

    2024-01-26 17:36:01       13 阅读
  3. Google)技术面试概述

    2024-01-26 17:36:01       19 阅读

最近更新

  1. TCP协议是安全的吗?

    2024-01-26 17:36:01       16 阅读
  2. 阿里云服务器执行yum,一直下载docker-ce-stable失败

    2024-01-26 17:36:01       16 阅读
  3. 【Python教程】压缩PDF文件大小

    2024-01-26 17:36:01       15 阅读
  4. 通过文章id递归查询所有评论(xml)

    2024-01-26 17:36:01       18 阅读

热门阅读

  1. C++求逆元、分数取模

    2024-01-26 17:36:01       31 阅读
  2. 牛客周赛 Round 29(A B C D E)

    2024-01-26 17:36:01       33 阅读
  3. 【Digester解析XML文件的三种方式】

    2024-01-26 17:36:01       30 阅读
  4. uniapp map自定义气泡窗

    2024-01-26 17:36:01       35 阅读
  5. glog使用方法

    2024-01-26 17:36:01       41 阅读
  6. 如何设计一个可靠UDP

    2024-01-26 17:36:01       29 阅读
  7. Acwing---788.逆序对的数量

    2024-01-26 17:36:01       31 阅读
  8. 常见的网络安全攻击类型

    2024-01-26 17:36:01       39 阅读