google-trends-api-client
Version:
An fully typed and easy to use client for the google trends api.
12 lines (11 loc) • 559 B
TypeScript
import { CommonGoogleTrendsApiParameters } from '../assertions/defineCommonGoogleTrendsApiParametersValue';
import { AgentOptions, GoogleTrendsApiTopic } from '../common';
/**
* provides suggestions of search terms and topics which you can get trends data on
*
* for example:
* - https://trends.google.com/trends/api/autocomplete/mattress?hl=en-US&tz=240
*/
export declare const getAutocompleteSuggestions: ({ keyword, hl, tz }: {
keyword: string;
} & CommonGoogleTrendsApiParameters, agentOptions?: AgentOptions) => Promise<GoogleTrendsApiTopic[]>;