SerpApi: Python Integration

PHOTO EMBED

Tue Nov 07 2023 19:56:01 GMT+0000 (Coordinated Universal Time)

Saved by @bobcoder #python

from serpapi import GoogleSearch

params = {
  "q": "Coffee",
  "location": "Austin, Texas, United States",
  "hl": "en",
  "gl": "us",
  "google_domain": "google.com",
  "api_key": "381f56d7198076f0606f9d563798774bd6f56899511e8b4770216e5facd8668f"
}

search = GoogleSearch(params)
results = search.get_dict()
content_copyCOPY

https://serpapi.com/integrations/python