PageRenderTime 375ms queryFilters 0ms Sphinxql 99ms GetByIds 248ms meta 0ms repositoryFilters 16ms languageFilters 1ms sourceFilters 0ms

885 results for 'api.duckduckgo.com' (375 ms)

Source

Language

Repository

duckduckgo.com.rb https://bitbucket.org/andey/bestofama.git | Ruby | 12 lines
4  include HTTParty
5  base_uri 'api.duckduckgo.com'
6
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    }
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");
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>  
54
duckduckgo.py https://bitbucket.org/pbui/bobbit | Python | 59 lines
10
11DUCKDUCKGO_URL = u'http://api.duckduckgo.com'
12DUCKDUCKGO_RE  = r'^!(ddg|duckduckgo)\s+'
duckduckgo.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?
duckduckgo.factor git://github.com/mrjbq7/re-factor.git | Unknown | 82 lines
11: search-url ( query -- url )
12    URL" http://api.duckduckgo.com"
13        swap "q" set-query-param
duckduckgo.py https://bitbucket.org/agiliq/searchapi | Python | 17 lines
7	def __init__(self):
8		self.end_point='http://api.duckduckgo.com/?q='
9	
duckduckgo.json https://github.com/timcameronryan/rem-js.git | Unknown | 11 lines
4
5    "base": "https://api.duckduckgo.com",
6    "params": {
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)
16
search.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)
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	}
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="
27
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 url
Links.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/",
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.
UI.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');
search.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)
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 types 
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)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21