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()