playgrouping.googleapis.com API. For detailed description please check documentation.
Install typings for Google Play Grouping API:
npm install @types/gapi.client.playgrouping-v1alpha1 --save-dev
You need to initialize Google API client in your code:
gapi.load('client', () => {
// now we can use gapi.client
// ...
});
Then load api client wrapper:
gapi.client.load(
'https://playgrouping.googleapis.com/$discovery/rest?version=v1alpha1',
() => {
// now we can use:
// gapi.client.playgrouping
}
);
// Deprecated, use discovery document URL, see https://github.com/google/google-api-javascript-client/blob/master/docs/reference.md#----gapiclientloadname----version----callback--
gapi.client.load('playgrouping', 'v1alpha1', () => {
// now we can use:
// gapi.client.playgrouping
});
After that you can use Google Play Grouping API resources: