DataForSeoAPIWrapper#
- class langchain_community.utilities.dataforseo_api_search.DataForSeoAPIWrapper[source]#
Bases:
BaseModel
Wrapper around the DataForSeo API.
Create a new model by parsing and validating input data from keyword arguments.
Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.
self is explicitly positional-only to allow self as a field name.
- param aiosession: ClientSession | None = None#
The aiohttp session to use for the DataForSEO SERP API.
- param api_login: str | None = None#
The API login to use for the DataForSEO SERP API.
- param api_password: str | None = None#
The API password to use for the DataForSEO SERP API.
- param default_params: dict = {'depth': 10, 'language_code': 'en', 'location_name': 'United States', 'se_name': 'google', 'se_type': 'organic'}#
Default parameters to use for the DataForSEO SERP API.
- param json_result_fields: list | None = None#
The JSON result fields.
- param json_result_types: list | None = None#
The JSON result types.
- param params: dict = {}#
Additional parameters to pass to the DataForSEO SERP API.
- param top_count: int | None = None#
The number of top results to return.
Examples using DataForSeoAPIWrapper