## Google APIs Client Libraries

The Google APIs client libraries, which are available in a number of popular programming languages, make it easy to use the PageSpeed Insights API.

In the following tables, the first column shows each library's stage of development (note that
some are in early stages), and links to documentation for the library. The second column links to
available samples for each library.

| Documentation | Samples |
|---|---|
| [Google APIs Client Libraries for Dart](https://pub.dev/documentation/googleapis/latest/) | [Dart samples](https://github.com/google/googleapis.dart/tree/master/generated/googleapis/example) |
| [Google API Client Library for Java](https://developers.google.com/api-client-library/java/) | [Java samples](https://developers.google.com/api-client-library/java/apis/pagespeedonline/v5) |
| [Google API Client Library for JavaScript](https://developers.google.com/api-client-library/javascript/start/start-js) | [JavaScript samples](https://developers.google.com/api-client-library/javascript/samples/samples) |
| [Google API Client Library for .NET](https://developers.google.com/api-client-library/dotnet/get_started.md.txt) | [.NET samples](https://developers.google.com/api-client-library/dotnet/apis/pagespeedonline/v5) |
| [Google API Client Library for Objective-C for REST](https://github.com/google/google-api-objectivec-client-for-rest) | [Objective-C samples](https://github.com/google/google-api-objectivec-client-for-rest/tree/master/Examples) |
| [Google API Client Library for PHP ()](https://developers.google.com/api-client-library/php) | [PHP samples](https://github.com/google/google-api-php-client/tree/master/examples) |
| [Google API Client Library for Python (v1/v2)](https://developers.google.com/api-client-library/python) | [Python samples](https://github.com/google/google-api-python-client/tree/master/samples) |

These early-stage libraries are also available:

| Documentation | Samples |
| [Google API Client Library for Go](https://github.com/google/google-api-go-client) | [Go samples](https://github.com/google/google-api-go-client/tree/master/examples) |
| [Google API Client Library for Node.js (alpha)](https://github.com/google/google-api-nodejs-client/) | [Node.js samples](https://github.com/google/google-api-nodejs-client/tree/master/samples) |
| [Google API Client Library for Ruby (alpha)](https://developers.google.com/api-client-library/ruby/start/get_started) | [Ruby samples](https://github.com/google/google-api-ruby-client-samples) |
|---|---|

## Feedback

Was this page helpful?
<button class="button button-primary expand-control gc-analytics-event" data-category="Helpful" data-value="1" data-label="/speed/docs/insights/libraries" style="background-color:#f44336;"> Yes </button>

> [!TIP]
> Great! Thank you for the feedback. If you have a specific, answerable question about using PageSpeed Insights, ask the question in English on [Stack
> Overflow](https://stackoverflow.com/questions/tagged/pagespeed-insights). For general questions, feedback, and discussion, start a thread in the [mailing list](https://groups.google.com/forum/#!forum/pagespeed-insights-discuss).

<button class="button button-primary expand-control gc-analytics-event" data-category="Helpful" data-value="0" data-label="/speed/docs/insights/libraries" style="position:absolute;top:0;left:70px;background-color:#f44336;"> No </button>

> [!WARNING]
> Sorry to hear that. If you have a specific, answerable question about using PageSpeed Insights, ask the question in English on [Stack
> Overflow](https://stackoverflow.com/questions/tagged/pagespeed-insights). For general questions, feedback, and discussion, start a thread in the [mailing list](https://groups.google.com/forum/#!forum/pagespeed-insights-discuss).