@maxim_mazurok/gapi.client.playgrouping-v1alpha1
v0.0.20241120
Published
TypeScript typings for Google Play Grouping API v1alpha1
Downloads
5,845
Readme
TypeScript typings for Google Play Grouping API v1alpha1
playgrouping.googleapis.com API. For detailed description please check documentation.
Installing
Install typings for Google Play Grouping API:
npm install @types/gapi.client.playgrouping-v1alpha1 --save-dev
Usage
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: