from metaphor_python import Metaphor
api_key = 'c5965b9f-0024-4436-b438-8a6ce8da5452'
metaphor = Metaphor(api_key)
query = "hiring product designers"
start_crawl_date = "2023-09-30T00:00:00Z"
search_response = metaphor.search( query=query, start_crawl_date=start_crawl_date, type="neural" # You can choose 'neural' for high-quality content )
results = search_response.results
for result in results: print(f"Title: {result.title}") print(f"URL: {result.url}") print(f"Published Date: {result.published_date}") print("----------")
autoprompt_string = search_response.autoprompt_string if autoprompt_string: print(f"Autoprompt String: {autoprompt_string}")