class CustomSearchAPI extends Service (View source)

Service definition for CustomSearchAPI (v1).

Searches over a website or collection of websites

For more information about this service, see the API Documentation

Properties

$cse
$cse_siterestrict
$rootUrlTemplate

Methods

__construct(Client|array $clientOrConfig = [], string $rootUrl = null)

Constructs the internal representation of the CustomSearchAPI service.

Details

__construct(Client|array $clientOrConfig = [], string $rootUrl = null)

Constructs the internal representation of the CustomSearchAPI service.

Parameters

Client|array $clientOrConfig

The client used to deliver requests, or a config array to pass to a new Client instance.

string $rootUrl

The root URL used for requests to the service.