با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
Google APIs Client Libraries
کتابخانه های سرویس گیرنده Google APIs که در تعدادی از زبان های برنامه نویسی محبوب موجود است، استفاده از PageSpeed Insights API را آسان می کند.
در جداول زیر، ستون اول مرحله توسعه هر کتابخانه را نشان می دهد (توجه داشته باشید که برخی در مراحل اولیه هستند)، و پیوندهایی به اسناد کتابخانه. ستون دوم به نمونه های موجود برای هر کتابخانه پیوند دارد.
تاریخ آخرین بهروزرسانی 2025-07-25 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-25 بهوقت ساعت هماهنگ جهانی."],[[["\u003cp\u003eGoogle APIs Client Libraries simplify the usage of the PageSpeed Insights API and are available in various programming languages.\u003c/p\u003e\n"],["\u003cp\u003eLibraries for Java, JavaScript, .NET, Objective-C, PHP, and Python are provided with links to their documentation and code samples.\u003c/p\u003e\n"],["\u003cp\u003eEarly-stage libraries for Dart, Go, Node.js, and Ruby are also available with links to their respective resources.\u003c/p\u003e\n"],["\u003cp\u003eFor support or feedback, users can utilize Stack Overflow for specific questions or the PageSpeed Insights mailing list for general inquiries.\u003c/p\u003e\n"]]],["Google offers client libraries to facilitate the use of the PageSpeed Insights API across various programming languages. Libraries are available for Java, JavaScript, .NET, Objective-C, PHP, and Python, along with early-stage libraries for Dart, Go, Node.js, and Ruby. Each library's documentation and available code samples are linked. For specific questions, users are directed to Stack Overflow, while general discussions are encouraged via a mailing list.\n"],null,["# Libraries and Samples\n\nGoogle APIs Client Libraries\n----------------------------\n\nThe Google APIs client libraries, which are available in a number of popular programming languages, make it easy to use the PageSpeed Insights API.\n\nIn the following tables, the first column shows each library's stage of development (note that\nsome are in early stages), and links to documentation for the library. The second column links to\navailable samples for each library.\n\n| Documentation | Samples |\n| [Google API Client Library for Java](https://developers.google.com/api-client-library/java/) | [Java samples](/api-client-library/java/apis/pagespeedonline/v5) |\n| [Google API Client Library for JavaScript](/api-client-library/javascript/start/start-js) | [JavaScript samples](/api-client-library/javascript/samples/samples) |\n| [Google API Client Library for .NET](/api-client-library/dotnet/get_started) | [.NET samples](/api-client-library/dotnet/apis/pagespeedonline/v5) |\n| [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) |\n| [Google API Client Library for PHP ()](/api-client-library/php) | [PHP samples](https://github.com/google/google-api-php-client/tree/master/examples) |\n| [Google API Client Library for Python (v1/v2)](/api-client-library/python) | [Python samples](https://github.com/google/google-api-python-client/tree/master/samples) |\n|-----------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------|\n\nThese early-stage libraries are also available:\n\n| Documentation | Samples |\n| [Google APIs Client Libraries for Dart (beta)](https://pub.dartlang.org/packages/googleapis) | [Dart samples](https://github.com/dart-lang/googleapis_examples) |\n| [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) |\n| [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) |\n| [Google API Client Library for Ruby (alpha)](/api-client-library/ruby/start/get_started) | [Ruby samples](https://github.com/google/google-api-ruby-client-samples) |\n|------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------|\n\nFeedback\n--------\n\nWas this page helpful? \nYes Great! Thank you for the feedback. If you have a specific, answerable question about using PageSpeed Insights, ask the question in English on [Stack\n| 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).\nNo Sorry to hear that. If you have a specific, answerable question about using PageSpeed Insights, ask the question in English on [Stack\n| 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)."]]