45+ results for 'api.duckduckgo.com' (63 ms)
66 query = quote_plus(query) 67 uri = 'https://api.duckduckgo.com/?q=%s&format=json&no_html=1&no_redirect=1' % query 68 results = json.loads(web.get(uri))getDDG.java https://github.com/mivanov/Iris-Voice-Automation.git | Java | 138 lines
99 xQuery = URLEncoder.encode(Query,"UTF-8"); 100 ddgURL = "http://api.duckduckgo.com/?q="+xQuery+"&format=json"; 101abstract.coffee https://gitlab.com/0072016/github-adsbot-app | 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)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" 18searchengine_query.rb https://bitbucket.org/King_DuckZ/assobiotech.git | Ruby | 82 lines
57 def getDuckDuckGoApiQuery() 58 return "https://api.duckduckgo.com/?q=#{getCleanText(@searchTerm)}&format=json&pretty=0" 59 endduckduckgo_definitions.py https://gitlab.com/lanodan/searx.git | Python | 149 lines
6 7url = 'https://api.duckduckgo.com/'\ 8 + '?{query}&format=json&pretty=0&no_redirect=1&d=1'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)duckduckgo.cpp git://pkgs.fedoraproject.org/kdeplasma-addons | C++ | 170 lines
43 44 KUrl url = KUrl("http://api.duckduckgo.com/?q=futurama+characters&format=json&pretty=1"); 45 // "http://api.duckduckgo.com/?q=define+ostensibly&format=json&pretty=1");duckduck.go git://github.com/ajanicij/goduckgo.git | Go | 112 lines
94 query_enc := url.QueryEscape(query) 95 ddgurl := fmt.Sprintf("http://api.duckduckgo.com?q=%s&format=json&pretty=1", query_enc) 96 resp, err := http.Get(ddgurl)2015-06-26-learn-to-use-apis.html https://gitlab.com/stephenjbarr/stephen-planetbarr-com | HTML | 93 lines
36 37r = requests.get(<span style="color: #8b2252;">'http://api.duckduckgo.com/'</span>, params = payload) 38r.urlAPI.php git://github.com/duckduckgo/php5-duckduckgo.git | PHP | 163 lines
25 /** 26 * The API base URL. This defaults to api.duckduckgo.com. 27 */ 58 $this->noDisambiguations = FALSE; 59 $this->baseURL = 'api.duckduckgo.com'; 60 }helper.js https://gitlab.com/jhta/.myconfig.git | JavaScript | 251 lines
14const DUCKDUCKGO_API_URL = 15 "https://api.duckduckgo.com/?format=json&no_redirect=1"+ 16 "&skip_disambig=1&q=";duckduckgo.js https://bitbucket.org/slimdll/botphp.git | JavaScript | 58 lines
22 const query = match.query 23 const _base = 'http://api.duckduckgo.com/?format=json&q=' 24 const _url = url.parse(_base + encodeURIComponent(query))README.md git://github.com/ajanicij/goduckgo.git | Markdown | 104 lines
14 15[http://api.duckduckgo.com/?q=New+York+City&format=json&pretty=1](http://api.duckduckgo.com/?q=New+York+City&format=json&pretty=1) 16animal.js https://gitlab.com/HonestidaMordaz/pet-store.git | JavaScript | 138 lines
34 return reqwest({ 35 url: "https://api.duckduckgo.com/", 36 data: {search.py https://github.com/mutantmonkey/phenny.git | Python | 200 lines
139def duck_api(query): 140 uri = 'https://api.duckduckgo.com/?q=%s&format=json&no_redirect=1' % query 141 bytes = web.get(uri)2015-06-26-learn-to-use-apis.org https://gitlab.com/stephenjbarr/stephen-planetbarr-com | Org | 69 lines
34 35r = requests.get('http://api.duckduckgo.com/', params = payload) 36r.urlfaq.md https://gitlab.com/Guy1394/duckduckgo-documentation | Markdown | 170 lines
55 56### Why isn't my Instant Answer in the [DuckDuckGo Instant Answers API](https://api.duckduckgo.com)? 57 89 90Yes! Check out the [DuckDuckGo API](https://api.duckduckgo.com). Our goal is to make as many Instant Answers as possible 91available through this interface. Fathead and goodie Instant Answers are automatically syndicated through the API, and Spice and Longtail are selectively (due to licensing complications) mixed in.index.html https://github.com/victusfate/Image-Matrix.git | HTML | 246 lines
177 + "&callback=?"; 178 // var apiurl = "http://api.duckduckgo.com/?q=" + encodeURIComponent(key) + "&format=json&callback=?"; 179 CreateImagesWithUrl(apiurl, bindex, key);duckduckgo.js https://github.com/gildean/dunn.git | JavaScript | 87 lines
65 var options = { 66 hostname: 'api.duckduckgo.com', 67 path: qPathDuckDuckGo.pm https://github.com/duckduckgo/p5-www-duckduckgo.git | Perl | 194 lines
17 lazy => 1, 18 default => sub { 'http://api.duckduckgo.com/' }, 19); 23 lazy => 1, 24 default => sub { 'https://api.duckduckgo.com/' }, 25); 166 167A HashRef of extra GET params to pass with the query (documented on https://api.duckduckgo.com/) 168__init__.py https://bitbucket.org/khagesh93/search-skill.git | Python | 178 lines
31 # Let's define the class objects here. 32 ddg_topic_summaries_endpoint = "https://api.duckduckgo.com/?q={}&format=json&pretty=1" 33 ddg_search_topic_details_endpoint = "{}?ia=about&format=json"example_duckduckgo.html https://bitbucket.org/quickfinder/quickfinder-old.git | HTML | 37 lines
18 url: function(phrase) { 19 return phrase !== "" ? "http://api.duckduckgo.com/?q=" + phrase + "&format=json" : "http://api.duckduckgo.com/?q=empty&format=json"; 20 },search.py https://gitlab.com/daniellawrence/sopel | Python | 133 lines
66 query = quote_plus(query) 67 uri = 'http://api.duckduckgo.com/?q=%s&format=json&no_html=1&no_redirect=1' % query 68 results = json.loads(web.get(uri))duckduck.js https://github.com/gcr/ips-lurker.git | JavaScript | 83 lines
14 http 15 .createClient(80, 'api.duckduckgo.com') 16 .request('GET', '/?'+querystring.stringify( 18 ), 19 {'host':'api.duckduckgo.com'}) 20 .on('response', function(res) {duckduckgo.py https://bitbucket.org/pbui/bobbit | Python | 59 lines
10 11DUCKDUCKGO_URL = u'http://api.duckduckgo.com' 12DUCKDUCKGO_RE = r'^!(ddg|duckduckgo)\s+'PipeFilter.pm https://github.com/ingydotnet/app-pipefilter.git | Perl | 91 lines
30 31 curl -s 'http://api.duckduckgo.com/?q=poe&o=json' | 32 jsonpath -o '$..Topics.*.FirstURL' -o '$..Topics.*.Text' |opis.html https://bitbucket.org/nejcv1998/nejcv1998.bitbucket.org.git | HTML | 98 lines
65 <li>EHRScape API: uporabljen za dostopanje in shranjevanje podatkov bolnika. Uporabljen je naslov: <a href= https://rest.ehrscape.com/rest/v1>https://rest.ehrscape.com/rest/v1</a></li> 66 <li>DuckDuckGo API: uporabljen za iskanje posledic in predlaganje rešitev. Uporabljen je naslov <a href= https://api.duckduckgo.com/?q=DuckDuckGo&format=json>https://api.duckduckgo.com/?q=DuckDuckGo&format=json</a></li> 67 </ul>Rakefile https://github.com/andrewrjones/ruby-duck-duck-go.git | Rakefile | 93 lines
82 http = HTTPClient.new 83 json = http.get_content('http://api.duckduckgo.com/', args) 84 ruby = JSON.parse(json)main.py https://github.com/akshaytyagi/quantum.git | Python | 189 lines
32 t=l.replace (" ", "+") 33 link="http://api.duckduckgo.com/?q="+t+"&format=json&pretty=1" 34 try:duckduckgo.py git://github.com/Reisen/bruh.git | Python | 76 lines
49 request = Request( 50 'https://api.duckduckgo.com/?{}'.format(urlencode({ 51 'q': msg,duck_duck_go.rb https://github.com/andrewrjones/ruby-duck-duck-go.git | Ruby | 58 lines
18 19 API_URL = 'http://api.duckduckgo.com/' 20 API_URL_SECURE = 'https://api.duckduckgo.com/'duckduckgo.pl https://github.com/prsquee/irssi-scripts.git | Perl | 38 lines
16 my ($server, $chan, $searchme) = @_; 17 my $query = 'https://api.duckduckgo.com/?q=' 18 . uri_encode($searchme)duck.py https://github.com/crazedpsyc/crazedpsyc.git | Python | 52 lines
46class conf: # a quick class to simulate the configuration module for running without DOSprompt 47 search_engine = {'name': 'DuckDuckGo', 'url': 'https://api.duckduckgo.com/?q=%s&o=json'} 48ddg.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()ddg.coffee https://gitlab.com/raulhc/telegram-bot | CoffeeScript | 66 lines
5# Busca no DuckDuckGo 6# http://api.duckduckgo.com/?q=<query>&format=json&pretty=1 7module.exports = ddg = (query, langs, callback=(->))-> 9 encQuery = encodeURIComponent query 10 url = 'http://api.duckduckgo.com/?format=json&q=' + encQuery 11 request(url, 'Accept-Language': ddg.mkAcceptLang langs)duckduckgosearch.py https://github.com/laramies/theHarvester.git | Python | 85 lines
15 self.database = 'https://duckduckgo.com/?q=' 16 self.api = 'https://api.duckduckgo.com/?q=x&format=json&pretty=1' # Currently using API. 17 self.quantity = '100'services.js https://gitlab.com/profound-software/infinity-bookmarks | JavaScript | 12 lines
6}) 7.factory('DuckDuckGo', function($resource) { //http://api.duckduckgo.com/?q=DuckDuckGo&format=json&pretty=1 8 return $resource(relay.url,{"api":"duckduckgo","format":"json"});seeds.js https://gitlab.com/ctaloi/rest2ddp | JavaScript | 14 lines
3 collectionName: "duckDuckGoSearchMeteor", 4 restUrl: "http://api.duckduckgo.com/?q=meteor&format=json&pretty=1", 5 jsonPath: "$.RelatedTopics.*",search.py https://github.com/dcbriccetti/python-lessons.git | Python | 5 lines
3search_arg = 'Guido von Rossum' 4response = requests.get('https://api.duckduckgo.com/?q=%s&format=json&pretty=1' % search_arg).json() 5print('From {}: {}'.format(response['AbstractSource'], response['Abstract']))addNotableGroceryStores.rb https://github.com/rantav/recipitor-frontend.git | Ruby | 7 lines
4# condensed in one line for heroku's console; yuk 5g = JSON.parse(IO.read('NotableGroceryStores.json')); g['map'].each { |k,v|; puts k; r = Net::HTTP.get 'api.duckduckgo.com', "/?q=#{URI.escape(k)}&o=json"; j = JSON.parse(r); url = nil; url = j['Results'][0]['FirstURL'] if j and j['Results'] and j['Results'][0]; StoreChain.create(:name => k, :url => url) and puts url} 6duckduckgo.py https://bitbucket.org/agiliq/searchapi | Python | 17 lines
7 def __init__(self): 8 self.end_point='http://api.duckduckgo.com/?q=' 9DuckDuckGo.php https://github.com/bobdia/COLibrary.git | PHP | 35 lines
11 12 public $url = 'http://api.duckduckgo.com/'; 13duckduckgo.com.rb https://bitbucket.org/andey/bestofama.git | Ruby | 12 lines
4 include HTTParty 5 base_uri 'api.duckduckgo.com' 6duckduckgo-parse.go https://github.com/sbhackerspace/sbhx-snippets.git | Go | 27 lines
12const ( 13 DDG_API_BASE_URL = "api.duckduckgo.com" 14 DDG_API_URL = "http://api.duckduckgo.com/?q=%s&format=json" 14 DDG_API_URL = "http://api.duckduckgo.com/?q=%s&format=json" 15 DDG_API_URL_SECURE = "https://api.duckduckgo.com/?q=%s&format=json" 16 DEBUG = true