google-trends-api-client
Version:
An fully typed and easy to use client for the google trends api.
29 lines (28 loc) • 645 B
TypeScript
export interface CommonGoogleTrendsApiParameters {
/**
* the prefered language
*
* defaults to `en-US`
*
* for example:
* - `en-US` for US english
*
* TODO: determine exactly how this affects search results
*/
hl?: string;
/**
* the preferred timezone
*
* defaults to `240`
*
* for example:
* - `240` for EST
*
* TODO: determine exactly how this affects search results
*/
tz?: number;
}
export declare const defineCommonGoogleTrendsApiParametersValue: ({ tz, hl, }: CommonGoogleTrendsApiParameters) => {
hl: string;
tz: string;
};