用于翻译的Google API密钥

use*_*323 8 google-api

从程序中进行简单的文本翻译需要什么密钥(如果有的话)?

注意:我没有托管任何网站.

Lak*_*bam 11

1).如何获取Google翻译API密钥.

要使用API​​,您需要获取Google API密钥;

a). Go to http://cloud.google.com/console/
b). Create a Project and select it.
c). On the left side bar, Go to “APIs & auth” Tab => APIs Tab
d). Enable “Translate API”
e). Go to “Credentials” Tab
f). Click on “CREATE NEW KEY”
g). Create “Server Key” for PHP / Java / Ruby / Python. Create “Browser Key” for JavaScript.
Run Code Online (Sandbox Code Playgroud)

在此输入图像描述 在此输入图像描述在此输入图像描述 在此输入图像描述

查看此页面,了解更多信息 http://hayageek.com/google-api-key/


Cla*_*ino 6

使用Google Translate API需要API密钥,您可以从Google API控制台获取.

有关更多详细信息,请查看开发人员指南.