The Google API client libraries, which are available in a number of popular programming languages, make it easy to use the Google Translate API.
In the table below, the first column shows each library's stage of development; note that some are still in early stages. The second column links to the main page for each library.
For libraries that have samples for the Google Translate API, the third column in the table below links to them directly. If a library's samples page does not yet include a sample for this API, you can still use that library -- simply adapt one of the existing samples as needed.
|Client library||Documentation||All client library samples|
|Google APIs Client Library for .NET (beta)||google-api-dotnet-client/||.NET samples|
|Google APIs Client Library for Dart (alpha)||google-api-dart-client/||Dart samples|
|Google APIs Client Library for Go (alpha)||google-api-go-client/||Go samples|
|Google API Libraries for Google Web Toolkit (alpha)||gwt-google-apis/||GWT samples|
|Google APIs Client Library for Java (beta)||google-api-java-client/||Java samples|
|Google APIs Client Library for Objective C (alpha)||google-api-objectivec-client/||Objective-C samples|
|Google APIs Client Library for PHP (beta)||google-api-php-client/||PHP samples|
|Google APIs Client Library for Python||Google APIs Client Library for Python||Python samples|
|Google APIs Client Library for Ruby (alpha)||google-api-ruby-client/||Ruby samples|
Featured samples for this API
Often, the easiest way to learn how to use an API can be to look at sample code. The table above provides links to some basic samples for each of the languages shown. Currently, there are no additional featured samples available for the Google Translate API.