from serpapi import GoogleSearch # GoogleSearch params = { "q": "Coffee", "location": "Austin, Texas, United States", "hl": "en", "gl": "us", "google_domain": "google.com", "api_key": "681ac1d6fe9958124d39f25ea5afd759b63f45e52cac7e85629655024661166e" } search = GoogleSearch(params) results = search.get_dict() print(results)