Pages

Sunday, March 19, 2017

How to enable Google translation API

Google translation API can be enabled on a trial basis for a period of 30 days.
Here is how this can be achieved.

Navigate to https://cloud.google.com/translate/

Google translate home page




Select "Try it free" option.
Login with your google account.
Provide necessary details and fill the registration form.

It will take a few moments to create the project.

Let the page take its time to create project




Let it take its time. Once the project is created you should see something similar to the screen shot below

You are now signed up for 12 month free trial

Click on "GOT IT" to see the project dashboard.

Project dashboard


Click on API Manager from the menu. On the next page click on Enable API.

Enable API

This opens the API manager console. Click on "Translation API" from the list of APIs presented on the screen.
API manager console


The Google Cloud Translation API page opens up. Click "Enable" to enable the API.

Enable Google cloud translation API

Once the API is enabled, API configuration page opens up.

Translate API configuration page


Click on Quotas tab to check or edit the limits on the number of characters allowed per day and other similar parameters.
Quotas




Create credentials




From the left menu on the API manager console, select "Credentials" option. On the pop up window select"Create credentials" dropdown and select API Key.
API key option


You should now see a page with the API Key created.

Here is your free pass - API key

This key needs to be added as a query string value to every call that you make to this API.

Keep this key secured.

No comments:

Post a Comment