API Reference
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
To dokumentacja interfejsu API jest uporządkowana według typu zasobu. Każdy typ zasobu ma co najmniej 1 reprezentację danych i co najmniej 1 metodę.
Page Speedapi
Szczegółowe informacje o zasobie Pagespeedapi znajdziesz na stronie reprezentacji zasobów.
Metoda |
Żądanie HTTP |
Opis |
Identyfikatory URI względem https://www.googleapis.com/pagespeedonline/v4 lub https://www.googleapis.cn/pagespeedonline/v4 w przypadku użytkowników z Chin. |
runpagespeed,
|
GET /runPagespeed
|
Przeprowadza analizę PageSpeed na stronie o podanym adresie URL i zwraca wyniki PageSpeed, listę sugestii, jak przyspieszyć tę stronę, oraz inne informacje.
Wymagane parametry zapytania:
url |
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-25 UTC.
[[["Łatwo zrozumieć","easyToUnderstand","thumb-up"],["Rozwiązało to mój problem","solvedMyProblem","thumb-up"],["Inne","otherUp","thumb-up"]],[["Brak potrzebnych mi informacji","missingTheInformationINeed","thumb-down"],["Zbyt skomplikowane / zbyt wiele czynności do wykonania","tooComplicatedTooManySteps","thumb-down"],["Nieaktualne treści","outOfDate","thumb-down"],["Problem z tłumaczeniem","translationIssue","thumb-down"],["Problem z przykładami/kodem","samplesCodeIssue","thumb-down"],["Inne","otherDown","thumb-down"]],["Ostatnia aktualizacja: 2025-07-25 UTC."],[[["The API reference is structured by resource type, with each type having various data representations and methods."],["Pagespeedapi resource details are available on a dedicated resource representation page."],["The `runpagespeed` method allows analysis of a web page's performance via the `GET` request, providing scores, suggestions, and other relevant data, requiring the `url` as a query parameter."],["The API can be accessed through specific URIs for global users and separate ones for users in China."]]],["The document outlines the PageSpeed API, structured by resource type, each with data representations and methods. The primary method is `runpagespeed`, accessed via a `GET` request to `/runPagespeed`. This method analyzes a specified URL's page speed, returning scores, suggestions for improvement, and related data. The `url` is the only required query parameter for this method. Base URIs are also provided for different geographic locations.\n"]]