@maxim_mazurok/gapi.client.versionhistory
TypeScript icon, indicating that this package has built-in type declarations

1.0.20220808 • Public • Published

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",  });

Readme

Keywords

none

Package Sidebar

Install

npm i @maxim_mazurok/gapi.client.versionhistory

Weekly Downloads

7

Version

1.0.20220808

License

MIT

Unpacked Size

20.3 kB

Total Files

6

Last publish

Collaborators

  • maxim_mazurok