SerpAPIConfig
Base classes¶
| Name | Children | Inherits |
|---|---|---|
| BaseSearchProviderConfig searchly_config.configs Base search provider configuration. |
⋔ Inheritance diagram¶
graph TD
1815518055["configs.SerpAPIConfig"]
860522681["configs.BaseSearchProviderConfig"]
330168112["schema.Schema"]
3879467795["main.BaseModel"]
2751680898["builtins.object"]
860522681 --> 1815518055
330168112 --> 860522681
3879467795 --> 330168112
2751680898 --> 3879467795
🛈 DocStrings¶
Bases: BaseSearchProviderConfig
SerpAPI provider configuration.
Uses SerpAPI for web and news search via Google. Full support for country, language, and location filtering.
Source code in src/searchly_config/configs.py
api_key
class-attribute
instance-attribute
¶
SerpAPI key. Defaults to SERPAPI_KEY env var.
type
class-attribute
instance-attribute
¶
SerpAPI provider.
get_provider
¶
get_provider() -> AsyncSerpAPIClient
Create SerpAPI provider instance.