Constants

USER_AGENT → String

'dart-api-client pagespeedonline/v1'

Classes

PagespeedapiResourceApi

PagespeedonlineApi

Lets you analyze the performance of a web page and get tailored suggestions to make that page faster.

Result

ResultFormattedResults

Localized PageSpeed results. Contains a ruleResults entry for each PageSpeed rule instantiated and run by the server.

ResultFormattedResultsRuleResultsValue

The enum-like identifier for this rule. For instance "EnableKeepAlive" or "AvoidCssImport". Not localized.

ResultFormattedResultsRuleResultsValueUrlBlocks

ResultFormattedResultsRuleResultsValueUrlBlocksHeader

Heading to be displayed with the list of URLs.

ResultFormattedResultsRuleResultsValueUrlBlocksHeaderArgs

ResultFormattedResultsRuleResultsValueUrlBlocksUrls

ResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetails

ResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetailsArgs

ResultFormattedResultsRuleResultsValueUrlBlocksUrlsResult

A format string that gives information about the URL, and a list of arguments for that format string.

ResultFormattedResultsRuleResultsValueUrlBlocksUrlsResultArgs

ResultPageStats

Summary statistics for the page, such as number of JavaScript bytes, number of HTML bytes, etc.

ResultScreenshot

Base64-encoded screenshot of the page that was analyzed.

ResultVersion

The version of PageSpeed used to generate these results.

Exceptions / Errors

ApiRequestError

Represents a general error reported by the API endpoint.

DetailedApiRequestError

Represents a specific error reported by the API endpoint.