google-trends-api-client
Version:
An fully typed and easy to use client for the google trends api.
34 lines (33 loc) • 1.14 kB
TypeScript
export interface GoogleTrendsApiInterestOverTimeDatapoint {
/**
* for example
* - "1633824000",
*/
time: string;
/**
* for example
* - "Oct 10 – 16, 2021",
*/
formattedTime: string;
/**
* for example
* - "Oct 10, 2021",
*/
formattedAxisTime: string;
/**
* one per keyword, in keyword order
*/
value: number[];
/**
* one per keyword, in keyword order
*/
formattedValue: number[];
}
/**
* per google
* > Numbers represent search interest relative to the highest point on the chart for the given region and time.
* > - A value of 100 is the peak popularity for the term.
* > - A value of 50 means that the term is half as popular.
* > - A score of 0 means there was not enough data for this term.
*/
export declare const getInterestOverTime: (args_0: import("./getExplorationWidgets").CommonGoogleTrendsApiExplorationParamters & import("../assertions/defineCommonGoogleTrendsApiParametersValue").CommonGoogleTrendsApiParameters, args_1?: import("..").AgentOptions | undefined) => Promise<GoogleTrendsApiInterestOverTimeDatapoint[]>;