class Applications extends Resource (View source)

The "applications" collection of methods.

Typical usage is:

 $gamesService = new Google\Service\Games(...);
 $applications = $gamesService->applications;

Methods

get(string $applicationId, array $optParams = [])

Retrieves the metadata of the application with the given ID. If the requested application is not available for the specified platformType, the returned response will not include any instance data. (applications.get)

getEndPoint(array $optParams = [])

Returns a URL for the requested end point type. (applications.getEndPoint)

played(array $optParams = [])

Indicate that the currently authenticated user is playing your application.

verify(string $applicationId, array $optParams = [])

Verifies the auth token provided with this request is for the application with the specified ID, and returns the ID of the player it was granted for.

Details

Application get(string $applicationId, array $optParams = [])

Retrieves the metadata of the application with the given ID. If the requested application is not available for the specified platformType, the returned response will not include any instance data. (applications.get)

Parameters

string $applicationId

The application ID from the Google Play developer console.

array $optParams

Optional parameters.

Return Value

Application

Exceptions

Exception

EndPoint getEndPoint(array $optParams = [])

Returns a URL for the requested end point type. (applications.getEndPoint)

Parameters

array $optParams

Optional parameters.

Return Value

EndPoint

Exceptions

Exception

played(array $optParams = [])

Indicate that the currently authenticated user is playing your application.

(applications.played)

Parameters

array $optParams

Optional parameters.

Exceptions

Exception

ApplicationVerifyResponse verify(string $applicationId, array $optParams = [])

Verifies the auth token provided with this request is for the application with the specified ID, and returns the ID of the player it was granted for.

(applications.verify)

Parameters

string $applicationId

The application ID from the Google Play developer console.

array $optParams

Optional parameters.

Return Value

ApplicationVerifyResponse

Exceptions

Exception