1.0.20220806 • Published 2 years ago

@maxim_mazurok/gapi.client.kgsearch v1.0.20220806

Weekly downloads
29
License
MIT
Repository
github
Last release
2 years ago

TypeScript typings for Knowledge Graph Search API v1

Searches the Google Knowledge Graph for entities. For detailed description please check documentation.

Installing

Install typings for Knowledge Graph Search API:

npm install @types/gapi.client.kgsearch@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('kgsearch', 'v1', () => {
  // now we can use gapi.client.kgsearch
  // ...
});

After that you can use Knowledge Graph Search API resources:

/*
Searches Knowledge Graph for entities that match the constraints. A list of matched entities will be returned in response, which will be in JSON-LD format and compatible with http://schema.org
*/
await gapi.client.kgsearch.entities.search({  });
1.0.20220715

2 years ago

1.0.20220612

2 years ago

1.0.20220806

2 years ago

1.0.20220628

2 years ago

1.0.20220703

2 years ago

1.0.20220722

2 years ago

1.0.20220708

2 years ago

1.0.20220730

2 years ago

1.0.20220517

2 years ago

1.0.20220522

2 years ago

1.0.20220604

2 years ago

1.0.20220527

2 years ago

1.0.20220531

2 years ago

1.0.20220530

2 years ago

1.0.20220402

2 years ago

1.0.20220409

2 years ago

1.0.20220227

2 years ago

1.0.20220305

2 years ago

1.0.20220312

2 years ago

1.0.20220218

2 years ago

1.0.20220107

2 years ago

1.0.20220116

2 years ago

1.0.20220212

2 years ago

1.0.20220103

2 years ago

1.0.20220122

2 years ago

1.0.20211203

2 years ago

1.0.20211112

3 years ago

1.0.20211015

3 years ago

1.0.20211008

3 years ago

1.0.20211002

3 years ago

1.0.20210918

3 years ago

1.0.20210827

3 years ago

1.0.20210610

3 years ago

1.0.20210224

3 years ago

1.0.20201113

3 years ago

1.0.20201107

4 years ago

1.0.20201031

4 years ago