google-trends-api-client
Version:
An fully typed and easy to use client for the google trends api.
23 lines (22 loc) • 1.18 kB
TypeScript
export interface GoogleTrendsApiRelatedQueryRankedKeyword {
query: string;
value: number;
formattedValue: string;
hasData?: boolean;
link: string;
}
/**
* per google
* > Users searching for your term also searched for these queries.
* > You can sort by the following metrics:
* > - TOP
* > - The most popular search queries.
* > - Scoring is on a relative scale where a value of 100 is the most commonly searched query, 50 is a query searched half as often as the most popular query, and so on.
* > - RISING
* > - Queries with the biggest increase in search frequency since the last time period.
* > - Results marked "Breakout" had a tremendous increase, probably because these queries are new and had few (if any) prior searches.
*/
export declare const getRelatedQueries: (args_0: import("./getExplorationWidgets").CommonGoogleTrendsApiExplorationParamters & import("../assertions/defineCommonGoogleTrendsApiParametersValue").CommonGoogleTrendsApiParameters, args_1?: import("..").AgentOptions | undefined) => Promise<{
top: GoogleTrendsApiRelatedQueryRankedKeyword[];
rising: GoogleTrendsApiRelatedQueryRankedKeyword[];
}>;