The "pagespeedapi" collection of methods.
More...
|
| call ($name, $arguments, $expected_class=null) |
| TODO: This function needs simplifying.
|
|
| runpagespeed ($url, $optParams=array()) |
| Runs PageSpeed analysis on the page at the specified URL, and returns PageSpeed scores, a list of suggestions to make that page faster, and other information.
|
|
|
| convertToArrayAndStripNulls ($o) |
|
The "pagespeedapi" collection of methods.
Typical usage is: $pagespeedonlineService = new Google_Service_Pagespeedonline(...); $pagespeedapi = $pagespeedonlineService->pagespeedapi;
◆ call()
Google_Service_Resource::call |
( |
| $name, |
|
|
| $arguments, |
|
|
| $expected_class = null ) |
|
inherited |
TODO: This function needs simplifying.
- Parameters
-
$name | |
$arguments | |
$expected_class | - optional, the expected class name |
- Return values
-
Google_Http_Request|expected_class | |
- Exceptions
-
◆ runpagespeed()
Google_Service_Pagespeedonline_Pagespeedapi_Resource::runpagespeed |
( |
| $url, |
|
|
| $optParams = array() ) |
Runs PageSpeed analysis on the page at the specified URL, and returns PageSpeed scores, a list of suggestions to make that page faster, and other information.
(pagespeedapi.runpagespeed)
- Parameters
-
string | $url | The URL to fetch and analyze |
array | $optParams | Optional parameters. |
@opt_param bool screenshot Indicates if binary data containing a screenshot should be included @opt_param string locale The locale used to localize formatted results @opt_param string rule A PageSpeed rule to run; if none are given, all rules are run @opt_param string strategy The analysis strategy to use @opt_param bool filter_third_party_resources Indicates if third party resources should be filtered out before PageSpeed analysis.
- Return values
-
The documentation for this class was generated from the following file:
- lib/google/src/Google/Service/Pagespeedonline.php