duckduckapi

async/sync DuckDuckGo API Wrapper (duckduckgo.com) written with Python 3.6


License
MIT
Install
pip install duckduckapi==0.0.10

Documentation

DuckDuckAPI

Async/sync DuckDuckGo API Wrapper (duckduckgo.com) written with Python 3.6

Installation

Use the package manager pip to install duckduckapi.

pip install duckduckapi

Usage

from duckduckapi import api
client = api.DuckSyncClient()

response_object = client.search("python")
response_dict = client.to_dict(response_object) # transform data to python-dict
print(response_dict)
print(response_object)

More examples: click

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT