serpapi-sdk-patterns

Installation
SKILL.md

SerpAPI Production Client Patterns

Overview

Create a narrow application-owned gateway instead of spreading vendor parameters, credentials, and variable result schemas through business code.

Prerequisites

  • A selected official client and pinned dependency version
  • Supported engines, required output fields, latency objective, and failure policy
  • Sanitized fixtures for each supported response shape

Tool Discipline

Use Read, Glob, and Grep to map current call sites and types, WebFetch to verify official client interfaces, and Write or Edit for the gateway, schemas, fixtures, and tests.

Current Contract

The Python client returns a SerpResults mapping and provides next_page() and yield_pages(). The JavaScript client exposes promise and callback forms including getJson, getJsonBySearchId, and getAccount, but does not provide built-in pagination. Search output can be JSON, HTML, or Markdown; json_restrictor can reduce JSON payload fields.

Installs
1
GitHub Stars
2.8K
First Seen
11 days ago
serpapi-sdk-patterns — jeremylongshore/tons-of-skills-marketplace