Skip to content

v0.9.0 — SerpApi

Latest

Choose a tag to compare

@imacross imacross released this 08 Sep 16:02

Contract: crawlsnap-contracts v0.12.0

Added

  • SerpApi — new serp_api resource (sync and async) with a single method,
    search(query, *, count, page, language, country, safe, time_range, site, filetype), returning the typed SerpSearchData: ranked Google results for
    one result page plus the related searches Google suggests. Each result's
    url is the real target URL, already unwrapped from Google's redirector.
    Available as crawlsnap.serp_api on the module singleton, client.serp_api
    on an explicit client, and serp_api.v1 for version pinning.

    Refinements left unset are omitted from the request so the API's own defaults
    apply — the SDK does not pin a default the API is free to move.