DataForSEOConfig
Base classes¶
| Name | Children | Inherits |
|---|---|---|
| BaseSearchProviderConfig searchly_config.configs Base search provider configuration. |
⋔ Inheritance diagram¶
graph TD
2467875207["configs.DataForSEOConfig"]
860522681["configs.BaseSearchProviderConfig"]
330168112["schema.Schema"]
3879467795["main.BaseModel"]
2751680898["builtins.object"]
860522681 --> 2467875207
330168112 --> 860522681
3879467795 --> 330168112
2751680898 --> 3879467795
🛈 DocStrings¶
Bases: BaseSearchProviderConfig
DataForSEO provider configuration.
Uses the DataForSEO API for web and news search. Supports country and language filtering with device/OS options.
Source code in src/searchly_config/configs.py
base_url
class-attribute
instance-attribute
¶
Base URL for the API.
login
class-attribute
instance-attribute
¶
DataForSEO login. Defaults to DATAFORSEO_LOGIN env var.
password
class-attribute
instance-attribute
¶
DataForSEO password. Defaults to DATAFORSEO_PASSWORD env var.
type
class-attribute
instance-attribute
¶
DataForSEO provider.
get_provider
¶
get_provider() -> AsyncDataForSEOClient
Create DataForSEO provider instance.
Source code in src/searchly_config/configs.py
is_configured
¶
Check if DataForSEO credentials are configured.