/* This is stub file for gapi.client.{{=it.name}} definition tests */ /* IMPORTANT. * This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. * In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator **/ gapi.load('client', () => { /** now we can use gapi.client */ gapi.client.load('kgsearch', 'v1', () => { /** now we can use gapi.client.kgsearch */ run(); }); async function run() { /** * 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.entities.search({ ids: "ids", indent: true, languages: "languages", limit: 4, prefix: true, query: "query", types: "types", }); } });