web-search-with-serpapi
lsl001006 tarafından
Web & Frontend DevelopmentÖzet
Search the web using SerpAPI with customizable engines (Google, Google AI Mode, Bing, etc.)
Açıklama
Bu Beceri Ne Yapar
Fetches web search results through SerpAPI, supporting multiple engines including Google, Google AI Mode, Bing, Yahoo, Google Images, Google Maps, and YouTube. Accepts a query string and optional engine parameter, returning structured text results from the API response.
SerpAPI handles scraping and parsing search result pages, so you get structured data without managing browser automation or getting blocked.
Ne Zaman Kullanılır
- Searching current news or events beyond an LLM's training cutoff
- Finding images via Google Images search
- Looking up local businesses or locations via Google Maps
- Running AI-mode searches for summarized answers
- Automating research queries across multiple search engines
Örnek İş Akışı
User asks: 'What are the latest AI developments in 2026?'
- 1
Receive query and determine appropriate engine (google_ai_mode for summarized results)
- 2
Call serpapi_search with query='latest AI developments 2026' and engine='google_ai_mode'
- 3
Receive structured text blocks from SerpAPI response
- 4
Return parsed results to user
A list of current search results or AI-summarized answer about recent AI developments
Gereksinimler
- SERPAPI_API_KEY environment variable
- SerpAPI account (serpapi.com)
Kurulum
clawhub install lsl001006/web-search-with-serpapiCLI komutunu çalıştırın ya da istemi Claude Code, Cursor, Codex veya kullandığınız kodlama ajanına yapıştırın.