0.0.20241030 • Published 10 months ago

@maxim_mazurok/gapi.client.abusiveexperiencereport-v1 v0.0.20241030

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

TypeScript typings for Abusive Experience Report API v1

Views Abusive Experience Report data, and gets a list of sites that have a significant number of abusive experiences. For detailed description please check documentation.

Installing

Install typings for Abusive Experience Report API:

npm install @types/gapi.client.abusiveexperiencereport-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://abusiveexperiencereport.googleapis.com/$discovery/rest?version=v1',
  () => {
    // now we can use:
    // gapi.client.abusiveexperiencereport
  }
);
// 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('abusiveexperiencereport', 'v1', () => {
  // now we can use:
  // gapi.client.abusiveexperiencereport
});

After that you can use Abusive Experience Report API resources:

/*
Gets a site's Abusive Experience Report summary.
*/
await gapi.client.abusiveexperiencereport.sites.get({name: 'name'});

/*
Lists sites that are failing in the Abusive Experience Report.
*/
await gapi.client.abusiveexperiencereport.violatingSites.list({});
0.0.20241030

10 months ago

0.0.20241029

10 months ago

0.0.20241028

10 months ago

0.0.20241027

10 months ago

0.0.20241023

10 months ago

0.0.20241022

10 months ago

0.0.20241021

10 months ago

0.0.20241016

10 months ago

0.0.20240527

1 year ago

0.0.20240610

1 year ago

0.0.20240520

1 year ago

0.0.20240506

1 year ago

0.0.20240429

1 year ago

0.0.20240422

1 year ago

0.0.20240415

1 year ago

0.0.20240409

1 year ago

0.0.20240408

1 year ago

0.0.20240401

1 year ago

0.0.20240207

2 years ago

0.0.20240205

2 years ago

0.0.20231204

2 years ago

0.0.20230807

2 years ago

0.0.20230904

2 years ago

0.0.20231106

2 years ago

0.0.20231002

2 years ago

0.0.20230508

2 years ago

0.0.20230502

2 years ago

0.0.20230403

2 years ago

0.0.20230206

3 years ago

0.0.20230114

3 years ago

0.0.20221205

3 years ago

0.0.20220715

3 years ago