@maxim_mazurok/gapi.client.readerrevenuesubscriptionlinking-v1
v0.0.20241118
Published
TypeScript typings for Reader Revenue Subscription Linking API v1
Downloads
5,022
Readme
TypeScript typings for Reader Revenue Subscription Linking API v1
readerrevenuesubscriptionlinking.googleapis.com API. For detailed description please check documentation.
Installing
Install typings for Reader Revenue Subscription Linking API:
npm install @types/gapi.client.readerrevenuesubscriptionlinking-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(
'https://readerrevenuesubscriptionlinking.googleapis.com/$discovery/rest?version=v1',
() => {
// now we can use:
// gapi.client.readerrevenuesubscriptionlinking
}
);
// 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('readerrevenuesubscriptionlinking', 'v1', () => {
// now we can use:
// gapi.client.readerrevenuesubscriptionlinking
});
After that you can use Reader Revenue Subscription Linking API resources: