Thư viện và mẫu
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Thư viện ứng dụng Google API
Thư viện ứng dụng API của Google (có sẵn trong một số ngôn ngữ lập trình phổ biến) giúp bạn dễ dàng sử dụng API PageSpeed Insights.
Trong các bảng sau, cột đầu tiên cho biết giai đoạn phát triển của từng thư viện (lưu ý rằng một số thư viện đang ở giai đoạn đầu) và liên kết đến tài liệu về thư viện đó. Cột thứ hai liên kết đến các mẫu có sẵn cho mỗi thư viện.
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 2026-11-09 UTC."],[],["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"]]