PageRenderTime 1734ms queryFilters 19ms Sphinxql 226ms GetByIds 739ms meta 0ms repositoryFilters 42ms languageFilters 1ms sourceFilters 0ms

885 results for 'api.duckduckgo.com repo:8dx/duckduckgo-roboduck' (1734 ms)

Source

Language

Repository

ddg.py https://bitbucket.org/dwfreed/guppy.git | Python | 55 lines
42            request = "+".join(args)
43            sock = urllib.request.urlopen("http://api.duckduckgo.com/?q=%s&o=json" % request)
44            data = sock.read()
search.py https://github.com/0x705h/jenni.git | Python | 341 lines
238    query = web.urllib.quote(query)
239    uri = 'https://api.duckduckgo.com/?q=%s&format=json&no_html=1&no_redirect=1&kp=-1' % query
240    results = web.get(uri)
search.py https://gitlab.com/garheade/garbot.git | Python | 223 lines
149    uri = web.quote(query)
150    uri = 'http://api.duckduckgo.com/?q=%s&format=json&no_html=1&no_redirect=1'%query
151    results = json.loads(web.get(uri))
calc.py https://github.com/myano/jenni.git | Python | 267 lines
145                #### Attempt #3 (DuckDuckGo's API)
146                ddg_uri = 'https://api.duckduckgo.com/?format=json&q='
147                ddg_uri += urllib.quote(q)
search.rb https://github.com/jsn/rbot.git | Ruby | 518 lines
25
26DDG_API_SEARCH = "http://api.duckduckgo.com/?format=xml&no_html=1&skip_disambig=1&no_redirect=0&q="
27
search.rb https://github.com/Oblomov/rbot.git | Ruby | 506 lines
25
26DDG_API_SEARCH = "http://api.duckduckgo.com/?format=xml&no_html=1&skip_disambig=1&no_redirect=0&q="
27
2012-12-13.pod git://github.com/rjbs/Perl-Advent.git | Unknown | 171 lines
31
32 $ adenosine 'http://api.duckduckgo.com/?q=*&o=json'
33
calc.py https://github.com/0x705h/jenni.git | Python | 197 lines
74        #### Attempt #2 (DuckDuckGo's API)
75        ddg_uri = 'https://api.duckduckgo.com/?format=json&q='
76        ddg_uri += urllib.quote(q)
abstract.coffee git://github.com/github/hubot-scripts.git | CoffeeScript | 45 lines
17  robot.respond /(abs|abstract) (.+)/i, (res) ->
18    abstract_url = "http://api.duckduckgo.com/?format=json&q=#{encodeURIComponent(res.match[2])}"
19    res.http(abstract_url)
abstract.coffee https://github.com/sgerrand/hubot-scripts.git | CoffeeScript | 45 lines
17  robot.respond /(abs|abstract) (.+)/i, (res) ->
18    abstract_url = "http://api.duckduckgo.com/?format=json&q=#{encodeURIComponent(res.match[2])}"
19    res.http(abstract_url)
abstract.coffee https://github.com/kingbin/hubot-scripts.git | CoffeeScript | 45 lines
17  robot.respond /(abs|abstract) (.+)/i, (res) ->
18    abstract_url = "http://api.duckduckgo.com/?format=json&q=#{encodeURIComponent(res.match[2])}"
19    res.http(abstract_url)
extensions-api-tab-title.html https://github.com/richtr/operaextensions.js.git | HTML | 59 lines
1<!DOCTYPE html>
2<html>
3<head>
4  <title>Opera Extensions API Documentation</title>
5  <link rel='stylesheet' href='../resources/markdown8.css'/>
6  <meta charset='utf-8'>
7  <meta charset='utf-8'>
8</head>
9<body>
10
11<p><a href="../index.html">&laquo; Documentation Home</a></p>
12
13<h1>BrowserTab.title</h1>
14
15<p class="note">This documentation relates to Opera's now deprecated .oex Extension API framework for Opera versions &lt;= 12.15 and also provided by our <a href="http://github.com/operasoftware/oex2nex">OEX2NEX shim library</a>.<br/><br/>For the latest Opera Extensions API documentation for Opera versions &gt; 12.15 please consult <a href="http://dev.opera.com/addons/extensions/">the latest Opera Extensions API documentation online</a>.</p>
search.py https://github.com/stsquad/willie.git | Python | 214 lines
138
139    uri = 'http://api.duckduckgo.com/?q=%s&format=json&no_html=1&no_redirect=1' % query
140    results = json.loads(web.get(uri))
duckduckgo.py https://gitlab.com/lanodan/searx.git | Python | 76 lines
1## DuckDuckGo (Web)
2#
3# @website     https://duckduckgo.com/
4# @provide-api yes (https://duckduckgo.com/api),
5#              but not all results from search-site
6#
7# @using-api   no
8# @results     HTML (using search portal)
9# @stable      no (HTML can change)
10# @parse       url, title, content
11#
12# @todo        rewrite to api
13# @todo        language support
14#              (the current used site does not support language-change)
15
search.py https://github.com/albertobaselga/willie.git | Python | 213 lines
138
139    uri = 'http://api.duckduckgo.com/?q=%s&format=json&no_html=1&no_redirect=1' % query
140    results = json.loads(web.get(uri))
search.py https://github.com/Alhifar/CGRelay.git | Python | 213 lines
138
139    uri = 'http://api.duckduckgo.com/?q=%s&format=json&no_html=1&no_redirect=1' % query
140    results = json.loads(web.get(uri))
duckduck.go git://github.com/ajanicij/goduckgo.git | Go | 183 lines
16
17var baseUrl = "https://api.duckduckgo.com/?q=%s&format=json&pretty=1%s"
18
search.py https://github.com/Ban3/willie.git | Python | 213 lines
138
139    uri = 'http://api.duckduckgo.com/?q=%s&format=json&no_html=1&no_redirect=1' % query
140    results = json.loads(web.get(uri))
duckduck_test.go git://github.com/ajanicij/goduckgo.git | Go | 66 lines
13	query := "New York City"
14	expectedUrl := "https://api.duckduckgo.com/?q=New+York+City&format=json&pretty=1"
15	expectedBody := `{
51	query := "!gi New York City"
52	expectedUrl := "https://api.duckduckgo.com/?q=%21gi+New+York+City&format=json&pretty=1&no_redirect=1"
53
59	query = "New York City"
60	expectedUrl = "https://api.duckduckgo.com/?q=New+York+City&format=json&pretty=1"
61	url = EncodeUrl(query)
define.py https://github.com/xray7224/MegBot.git | Python | 45 lines
30
31    url = "http://api.duckduckgo.com/?q=%s&format=json" % query_string
32    request = urlopen(url)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21