@maxim_mazurok/gapi.client.versionhistory
v1.0.20220808
Published
TypeScript typings for Version History API v1
Downloads
11
Readme
TypeScript typings for Version History API v1
Version History API - Prod For detailed description please check documentation.
Installing
Install typings for Version History API:
npm install @types/gapi.client.versionhistory@v1 --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('versionhistory', 'v1', () => {
// now we can use gapi.client.versionhistory
// ...
});
After that you can use Version History API resources:
/*
Returns list of platforms that are available for a given product. The resource "product" has no resource name in its name.
*/
await gapi.client.versionhistory.platforms.list({ parent: "parent", });