mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
|
…
|
||
|---|---|---|
| .. | ||
| gapi.client.searchconsole-tests.ts | ||
| index.d.ts | ||
| readme.md | ||
| tsconfig.json | ||
| tslint.json | ||
TypeScript typings for Google Search Console URL Testing Tools API v1
Provides tools for running validation tests against single URLs For detailed description please check documentation.
Installing
Install typings for Google Search Console URL Testing Tools API:
npm install @types/gapi.client.searchconsole@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('searchconsole', 'v1', () => {
// now we can use gapi.client.searchconsole
// ...
});
After that you can use Google Search Console URL Testing Tools API resources: