Closed aji closed 11 years ago
I was informed of the following via IRC: < +shmibs > if you can make an http request, all you have to do is request http://duckduckgo.com/?q=!ducky+<search+term>, and it will redirect you to the first result
Could be useful for implementing the script, since it appears the JSON API is restricted to instant results, although that is still a lot of cool features. Perhaps ;ddg
and ;ddgi
commands?
@aji The JSON API includes that "bang" functionality. For example: http://api.duckduckgo.com/?q=!ducky+cats&format=json&pretty=1&no_redirect=1 (redirect can be enabled by setting the last thing to 0 or removing it).
A command to search using the DuckDuckGo search engine (
;ddg
) has been requested.