Libraries and Samples

  • Google APIs Client Libraries simplify the usage of the PageSpeed Insights API and are available in various programming languages.

  • Libraries for Java, JavaScript, .NET, Objective-C, PHP, and Python are provided with links to their documentation and code samples.

  • Early-stage libraries for Dart, Go, Node.js, and Ruby are also available with links to their respective resources.

  • For support or feedback, users can utilize Stack Overflow for specific questions or the PageSpeed Insights mailing list for general inquiries.

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.

Google API Client Library for Python (v1/v2) Python samples

These early-stage libraries are also available:

Google API Client Library for Ruby (alpha) Ruby samples

Was this page helpful?

Design a Mobile Site
View Site in Mobile | Classic
Share by: