Free Google Translator API 免费的Google翻译,其中的破解思路主要来源于将https://translate.google.cn的web访问方式模拟成全部代码的形式来控制api的访问 注意事项 1.大量的相同IP请求会导致Google翻译接口返回 429 Too many requests 建议处理方案:每一个app客户端自己去请求此接口,就可以避免只有一个IP的服务器去请...
import{Translate}from'free-google-translate-api-ts'; Demo constdemo=async()=>{constresult=awaitTranslate('Hello world!','auto','fr');console.log(result);}; Results Console.log{text:'Hello World!',result:'Bonjour le monde!',source_language:'auto',translate_language:'fr'} ...
GoogleTranslateFreeApi 免费使用google api翻译 这个项目是forkhttps://github.com/Grizley56/GoogleTranslateFreeApi在原作者基础上,主要修改了以下几点: 1.根据国内的情况,将翻译的服务器指向了国内 2.将原框架支撑的.net standard1.1 修改为2.0 3.更正了原作者中,支持中文翻译有错误的问题,在示例中添加了一个英...
google-translate-open-api就这样诞生了。 Usage 单段文本 importtranslatefrom'google-translate-open-api';constresult =awaittranslate(`I'm fine.`, {tld:"cn",to:"zh-CN", });constdata = result.data[0];// 我很好。 多段文本 importtranslatefrom'google-translate-open-api';constresult =awaittransl...
当然用现在已经有的库(像google-translate-api),依然能够实现上述的功能,但是在翻译多段文本时候,需要请求api多次,这严重造成请求的浪费与等待漫长的时间。 因此我需要用一个新的 api 来实现上述功能。google-translate-open-api就这样诞生了。 Usage 单段文本 ...
Unfortunately, the Yandex Translate API is not free. The API pricing is based on number of characters in the requests as seenhere: How do you get a Google Translate API Key? Create a new Project from the top bar. With the new project selected, go to the hamburger menu to the left and...
使用官方谷歌翻译 API,见https://cloud.google.com/translate/docs/Google 每个月都会免费为您提供 10 ...
2.如何获取 GOOGLE_KEY: a.设置地址(基本版,翻译普通文本够用了):https://cloud.google.com/translate/docs/basic/setup-basic?hl=zh-cn b.设置项目: c.设置好后,在cloud 后台,箭头处为设置的项目 d.此界面 通过 API 和服务->凭据 d.启动 cloud shell 显示就成功了。 e.创建凭据 f.创建成...
Free API for translate using google translate api for JP. Latest version: 1.0.0, last published: a year ago. Start using google-translate-api-jp-x in your project by running `npm i google-translate-api-jp-x`. There are 2 other projects in the npm registr
Google Translate API是一种机器翻译服务,它可以将文本从一种语言翻译成另一种语言。它基于人工智能和机器学习技术,能够提供高质量的翻译结果。 Google Translate API的优势包括: 高质量的翻译结果:Google Translate API利用大量的语料库和机器学习算法,能够提供准确、流畅的翻译结果。