DataForSeoApiConfig

Description

Represents the configuration object used to set up a DataForSeoAPISearch instance.

interface DataForSeoApiConfig {
    apiLogin?: string;
    apiPassword?: string;
    jsonResultFields?: string[];
    jsonResultTypes?: string[];
    params?: Record<string, string | number | boolean>;
    topCount?: number;
    useJsonOutput?: boolean;
}

Properties

apiLogin?: string

Description

The API login credential for DataForSEO. If not provided, it will be fetched from environment variables.

apiPassword?: string

Description

The API password credential for DataForSEO. If not provided, it will be fetched from environment variables.

jsonResultFields?: string[]

Description

Specifies the fields to include in each result object.

jsonResultTypes?: string[]

Description

Specifies the types of results to include in the output.

params?: Record<string, string | number | boolean>

Description

Additional parameters to customize the API request.

topCount?: number

Description

Specifies the maximum number of results to return.

useJsonOutput?: boolean

Description

Determines if the output should be in JSON format.

Generated using TypeDoc