class PostmasterTools extends Service (View source)

Service definition for PostmasterTools (v1).

The Postmaster Tools API is a RESTful API that provides programmatic access to email traffic metrics (like spam reports, delivery errors etc) otherwise available through the Gmail Postmaster Tools UI currently.

For more information about this service, see the API Documentation

Constants

POSTMASTER_READONLY

See email traffic metrics for the domains you have registered in Gmail Postmaster Tools.

Properties

$domains
$domains_trafficStats
$rootUrlTemplate

Methods

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

Constructs the internal representation of the PostmasterTools service.

Details

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

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