使用 DeepL API 翻译文本 [英] Using DeepL API to translate text
本文介绍了使用 DeepL API 翻译文本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是否有可能查明 DeepL 翻译器是否提供翻译 API?不幸的是,我没有找到任何关于此的信息.
Is there any possibility to find out if the DeepL translator offers an API for the translation? Unfortunately I haven't found any information on this.
想将此实现到 Excel 脚本以进行自动翻译.我已经用 Google 试过了(比如 https://translate.google.com/#en/es/Hello%20World) 但 DeepL 似乎更准确.
Would like to implement this to an Excel script for auto translation. I've already tried it with Google (like https://translate.google.com/#en/es/Hello%20World) but DeepL seems more accurate.
推荐答案
REST API 终于(商业)可用,请参阅 API 参考文档.
The REST API is finally (commercially) available, see the API reference documentation.
示例请求是
https://api.deepl.com/v1/translate?text=Hello%20World!&target_lang=EN&auth_key=XXX
其中 XXX 是您注册 DeepL 所需的身份验证密钥.
这篇关于使用 DeepL API 翻译文本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文