Skip to content

A DuckDuckGo Instant Answer API wrapper for the browser in JavaScript without dependecies

License

Notifications You must be signed in to change notification settings

Allen-B1/ddgweb-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ddgweb-api

A DuckDuckGo API for the web in JavaScript with no dependencies.

Please note that this is not an official api.

Getting Started

Step 1: Include ddgweb.js

<script src="https://cdn.rawgit.com/Allen-B1/ddgweb-api/master/ddgweb.min.js"></script>

Step 2:

ddg.result("DuckDuckGo").then(function(result) {
  alert(result.text);
});

Next steps

For the full documentation, read the API documentation

About

A DuckDuckGo Instant Answer API wrapper for the browser in JavaScript without dependecies

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published