Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
deedy5 authored Jan 20, 2022
1 parent 7a41776 commit d321416
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ ddg(keywords, region='wt-wt', safesearch='Moderate', time=None, max_results=30,
```
### Example
```python
from duckduckgo_search import ddg

keywords = 'google'
results = ddg(keywords, region='wt-wt', safesearch='Moderate', time='y', max_results=2)
print(results)
Expand Down Expand Up @@ -98,10 +100,12 @@ ddg_images(keywords, region='wt-wt', safesearch='Moderate', time=None, size=None
```
### Example
```python
from duckduckgo_search import ddg_images

keywords = 'world'
results = ddg_images(keywords='world', region='br-pt', safesearch='Off', time='Year', size='Wallpaper',
color='Green', type_image='Photo',layout='Square', license_image='Public', max_results=500)
print(results)
r = ddg_images(keywords='world', region='br-pt', safesearch='Off', time='Year', size='Wallpaper',
color='Green', type_image='Photo',layout='Square', license_image='Public', max_results=500)
print(r)
```
```python
[
Expand Down

0 comments on commit d321416

Please sign in to comment.