PageRenderTime 437ms queryFilters 0ms Sphinxql 62ms GetByIds 337ms meta 0ms repositoryFilters 14ms languageFilters 1ms sourceFilters 0ms

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

Source

Language

Repository

abstract.coffee https://github.com/kevinsawicki/hubot-scripts.git | CoffeeScript | 56 lines
27  robot.respond /(abs|abstract) (.+)/i, (res) ->
28    abstract_url = "http://api.duckduckgo.com/?format=json&q=#{encodeURIComponent(res.match[2])}"
29    res.http(abstract_url)
ducky_search.rb https://github.com/alexshook/ducky_search.git | Ruby | 40 lines
32    def get_topic_summary(query_string)
33      results = HTTParty.get("http://api.duckduckgo.com/?q=#{query_string}&format=json")
34      abstract = JSON.parse(results)['AbstractText']
master.js https://github.com/licson0729/SO-ChatBot.git | JavaScript | 6,584 lines
278	IO.jsonp({
279		url : 'http://api.duckduckgo.com/',
280		jsonpName : 'callback',
abstract.coffee https://github.com/bpacker/nbot-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/brkattk/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/brntbeer/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)
index.html https://github.com/victusfate/Image-Matrix.git | HTML | 247 lines
177                        + "&callback=?";
178                // var apiurl = "http://api.duckduckgo.com/?q=" + encodeURIComponent(key) + "&format=json&callback=?";
179                CreateImagesWithUrl(apiurl, bindex, key);
duckduckgo-ui.yml https://github.com/nospampleasemam/p5-app-duckduckgo-ui.git | YAML | 27 lines
1# Command to execute for the web browser -- %s is replaced with the URL.
2browser: w3m %s
3
4# Extra URL params to pass to the API (see: https://duckduckgo.com/params)
5params:
6    # SafeSearch
7    kp: -1
8    # Region (wt-wt is None)
9    kl: wt-wt
10
11# UI configuration
12interface:
13    searchbox:
14        # These are the builtin defaults, for examples.
15        -border: true
services.js https://github.com/bartolini/angularjs.git | JavaScript | 24 lines
11            return $resource(
12                'http://api.duckduckgo.com/?format=json&q=:q', // this is a URL; please note the "q" parameter!
13                { callback: 'JSON_CALLBACK' }, // this is configuration only
duck.rb https://github.com/Ronovan/ruby-rails-jumpstart.git | Ruby | 33 lines
4
5BASE_URL = "http://api.duckduckgo.com/?format=json&pretty=1&q="     # remote API url
6query     = "web services"                                          # query string
ApiConstants.java https://gitlab.com/intruxxer/android-best-practices.git | Java | 12 lines
5    // Just examples. Replace however you need!
6    public static final String BASE_URL = "http://api.duckduckgo.com";
7    public static final int HTTP_CONNECT_TIMEOUT =  6000; // milliseconds
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=";
spice.js https://github.com/aembleton/zeroclickinfo-spice.git | JavaScript | 124 lines
86    	
87    	nrj("http://api.duckduckgo.com/?q=spell%20" + encodeURIComponent(query) + "&format=json&pretty=1&callback=handle_ddg_api");
88    }
IO.js https://github.com/licson0729/SO-ChatBot.git | JavaScript | 299 lines
277	IO.jsonp({
278		url : 'http://api.duckduckgo.com/',
279		jsonpName : 'callback',
spice.js https://github.com/tarnfeld/zeroclickinfo-spice.git | JavaScript | 125 lines
87    	
88    	nrj("http://api.duckduckgo.com/?q=spell%20" + encodeURIComponent(query) + "&format=json&pretty=1&callback=handle_ddg_api");
89    }
Dictionary.java https://github.com/AdamGaltrey/Willie.git | Java | 86 lines
14    URBAN_DICTIONARY("http://api.urbandictionary.com/v0/define?term=%WORD%", 0, "Urban Dictionary"),
15    DUCK_DUCK_GO("http://api.duckduckgo.com/?q=%WORD%&format=json", 1, "Duck Duck Go");
16    private String url, name;
calc.py https://github.com/adiq/stah.git | Python | 72 lines
6
7uri = 'http://api.duckduckgo.com/?q=%s&format=json'
8
ApiConstants.java https://gitlab.com/shengwenzhu/android-best-practices.git | Java | 12 lines
5    // Just examples. Replace however you need!
6    public static final String BASE_URL = "http://api.duckduckgo.com";
7    public static final int HTTP_CONNECT_TIMEOUT =  6000; // milliseconds
animal.js https://gitlab.com/HonestidaMordaz/pet-store.git | JavaScript | 138 lines
34      return reqwest({
35        url: "https://api.duckduckgo.com/",
36        data: {
duckduckgo_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'
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21