class Webfonts extends Service (View source)

Service definition for Webfonts (v1).

The Google Web Fonts Developer API lets you retrieve information about web fonts served by Google.

For more information about this service, see the API Documentation

Properties

$webfonts
$rootUrlTemplate

Methods

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

Constructs the internal representation of the Webfonts service.

Details

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

Constructs the internal representation of the Webfonts 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.