Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
willbryk720 authored Jul 25, 2023
1 parent 6a99bb5 commit 5b60e34
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ client = Metaphor(api_key="your-api-key")

response = client.search("funny article about tech culture",
num_results=5,
includeDomains: ['nytimes.com', 'wsj.com'],
startPublishedDate: '2023-06-12'
includeDomains: ["nytimes.com", "wsj.com"],
startPublishedDate: "2023-06-12"
)

for result in response.results:
Expand All @@ -35,7 +35,7 @@ for result in response.results:
## Find Similar

```python
response = client.find_similar("https://example.com/article", num_results=5)
response = client.find_similar("https://waitbutwhy.com/2014/05/fermi-paradox.html", num_results=5)

for result in response.results:
print(result.title, result.url)
Expand Down

0 comments on commit 5b60e34

Please sign in to comment.