DeepL
DeepL Free API
Notice
Since I don't want to make my AuthKey public, if you want to run the python file successfully, you need to change LINE 6 YOUR_AUTH_KEY. You can also choose to run my compiled binaries.
Features
- Free, no account registration required
- Custom DeepL AuthKey
- Custom Source Language
- Custom Target Language
Usage
Recommended - Go Executable file (Linux/macOS/Windows)
./deepl -text stepwells
./deepl -text stepwells -targetLang ZH
Python 3 Version
--help, -h show this help message and exit
--text -t text to translate, required
--auth_key -a authKey, optional
--source_lang -s source language, default: auto, optional
--target_lang -l target language, default: ZH, optional
python3 deepl.py -t stepwells
python3 deepl.py -t stepwells -s EN -l ZH
Return
{
"translations": [
{
"detected_source_language": "EN",
"text": "阶梯水井"
}
],
"usage": 193,
"author": "https://github.com/missuo"
}
Language supported
DE: 德语EN: 英语ES: 西班牙语FR: 法语IT: 意大利语JA: 日语NL: 荷兰语PL: 波兰语PT: 葡萄牙语RU: 俄语ZH: 中文BG: 保加利亚语CS: 捷克语DA: 丹麦语EL: 希腊语ET: 爱沙尼亚语FI: 芬兰语HU: 匈牙利语LT: 立陶宛语LV: 拉脱维亚语RO: 罗马尼亚语SK: 斯洛伐克语SL: 斯洛文尼亚语SV: 瑞典语
TO DO
- Provide open API
- Document translation
Reference
https://www.deepl.com/en/docs-api
License
MIT License