1,211 results for 'api.duckduckgo.com' (10938 ms)
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) 16search.py git://github.com/myano/jenni.git | Python | 230 lines
146 #query = web.urllib.quote(query) 147 uri = 'https://api.duckduckgo.com/?q=%s&format=json&no_html=1&no_redirect=1&kp=-1' % query 148 results = proxy.get(uri)API.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 }ddg.go git://github.com/whee/ddg.git | Go | 222 lines
114 // BaseURL specifies where to send API requests. If zero-value, 115 // "api.duckduckgo.com" is used. 116 BaseURL string 150 if c.BaseURL == "" { 151 c.BaseURL = "api.duckduckgo.com" 152 }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");search.rb git://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=" 27Links.pm https://github.com/8dx/duckduckgo-roboduck.git | Perl | 112 lines
19 "searchbox" => "https://duckduckgo.com/search_box.html", 20 "api" => "https://api.duckduckgo.com/", 21 "homepage" => "https://duckduckgo.com/",api.tx https://github.com/nrw/duckduckgo-publisher.git | Unknown | 248 lines
22<a href="http://duckduckgo.com/?q=valley+forge+national+park">topic summaries</a> 23(<a href="http://api.duckduckgo.com/?q=valley+forge+national+park&format=json&pretty=1">API example</a>), 24<a href="http://duckduckgo.com/?q=simpsons+characters">categories</a> 24<a href="http://duckduckgo.com/?q=simpsons+characters">categories</a> 25(<a href="http://api.duckduckgo.com/?q=simpsons+characters&format=json&pretty=1">API example</a>), 26<a href="http://duckduckgo.com/?q=apple">disambiguation</a> 26<a href="http://duckduckgo.com/?q=apple">disambiguation</a> 27(<a href="http://api.duckduckgo.com/?q=apple&format=json&pretty=1">API example</a>), 28and 29<a href="/bang.html">!bang redirects</a> 30(<a href="http://api.duckduckgo.com/?q=!imdb+rushmore&format=json&pretty=1&no_redirect=1">API example</a>). 31 52To consume it yourself, you can use one of the language libraries listed below or simply add '&format=json' (or xml if you have a death wish) onto any query URL in the api subdomain, e.g. 53<br><a href="http://api.duckduckgo.com/?q=DuckDuckGo&format=json&pretty=1">http://api.duckduckgo.com/?q=DuckDuckGo&format=json</a> 54UI.pm https://github.com/nospampleasemam/p5-app-duckduckgo-ui.git | Perl | 450 lines
201 my ($self, $call) = @_; 202 my $request = HTTP::Request->new(GET => "https://api.duckduckgo.com/$call"); 203 POE::Kernel->post('ua', 'request', 'http_response', $request, 'fill_deep');update.rake https://bitbucket.org/andey/bestofama.git | Ruby | 100 lines
1namespace :update do 2 3 # Update Ops rankings statistics 4 task :op => :environment do 5 6 # select Op 7 @op = Op.where(:comment_karma => 0, :wikipedia_hits => 0).first 8 @op ||= Op.order(:updated_at).first 9 @op.touch 10 puts "UPDATE ENTITY: #{@op.name}" 11 12 url = @op.links.where(:site_id => 1).first 13 14 #acquire 15 if urlsearch.py https://github.com/myano/jenni.git | Python | 345 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)faq.md https://github.com/a-West/duckduckgo.git | Markdown | 71 lines
44 45### Why isn't my plugin in the [DuckDuckGo Instant Answers API](https://api.duckduckgo.com)? 46If your plugin is spice or longtail, sometimes we can't expose it through the API for licensing reasons (e.g. the WolframAlpha plugin), but our 66### Can I get the instant answers through an API? 67Yes! Check out the [DuckDuckGo API](https://api.duckduckgo.com). Our goal is to make as many plugins as possible 68available through this interface. Fathead and goodie plugins are automatically syndicated through the API, and Spice and Longtail are selectively (due to licensing complications) mixed in.faq.md https://github.com/DavidMascio/duckduckgo-documentation.git | Markdown | 163 lines
55 56### Why isn't my instant answer in the [DuckDuckGo Instant Answers API](https://api.duckduckgo.com)? 57 82 83Yes! Check out the [DuckDuckGo API](https://api.duckduckgo.com). Our goal is to make as many instant answers as possible 84available 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.calc.py git://github.com/myano/jenni.git | Python | 256 lines
104 #### Attempt #2 (DuckDuckGo's API) 105 ddg_uri = 'https://api.duckduckgo.com/?format=json&q=' 106 ddg_uri += urllib.quote(q)README.md https://github.com/a-West/duckduckgo.git | Markdown | 49 lines
15The DuckDuckHack platform is constantly changing as community contributors add new features. As a result, some plugin types have better interfaces than others. We will be improving the platform based on [your feedback](https://www.listbox.com/subscribe/?list_id=197814). 16Our long-term goal is to be able to distribute all DuckDuckHack (and internal) instant answers via the [DuckDuckGo Instant Answers API](https://api.duckduckgo.com). 17Currently [fathead](https://github.com/duckduckgo/zeroclickinfo-fathead) and [goodie](#goodies-overview) plugin typescalc.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.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://bitbucket.org/ebarrier/botnet-sopel.git | Python | 158 lines
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))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=" 27duckduckgo.js https://github.com/johnkpaul/protobot.git | JavaScript | 38 lines
9DuckDuckGo.prototype.search = function( query, cloudback ) { 10 exec("curl 'http://api.duckduckgo.com/?format=json&q=" + escape( query ) + "'", function ( err, stdout, stderr ) { 11 var results = JSON.parse( stdout ) // What could possibly go wrong?