The Wayback Machine - https://web.archive.org/web/20130115033724/https://developers.google.com/speed/docs/insights/libraries

PageSpeed Insights

Libraries and Samples

Featured samples for the PageSpeed Insights API

An easy way to learn how to use an API can be to look at sample code. This section highlights interesting samples for the PageSpeed Insights API.

Language Featured samples API version
Python

PageSpeed Regression Test for App Engine (coming soon)

Integrate with your App Engine push scripts to automatically catch performance regressions before they go live to users of your site.

1.0

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 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 PageSpeed Insights 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 JavaScript (beta) google-api-javascript-client/ JavaScript samples
Google APIs Client Library for Objective-C 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

Authentication required

You need to be signed in with Google+ to do that.

Signing you in...

Google Developers needs your permission to do that.