Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

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

Project description

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

Project details


Release history Release notifications

This version

1.0.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for duckduckapi, version 1.0.0
Filename, size File type Python version Upload date Hashes
Filename, size duckduckapi-1.0.0-py3-none-any.whl (3.5 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size duckduckapi-1.0.0.tar.gz (2.8 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page