PageRenderTime 50ms CodeModel.GetById 47ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/lib/DDG/Spice/Hayoo.pm

https://github.com/aembleton/zeroclickinfo-spice
Perl | 28 lines | 20 code | 8 blank | 0 comment | 1 complexity | 8c25f5f43805b6779576b6ac8eda53be MD5 | raw file
 1package DDG::Spice::Hayoo;
 2
 3use DDG::Spice;
 4
 5triggers start => "hayoo", "haskell api";
 6
 7spice to => 'http://holumbus.fh-wedel.de/hayoo/hayoo.json?query=$1';
 8spice wrap_jsonp_callback => 1;
 9
10spice proxy_cache_valid => "200 1d";
11
12primary_example_queries "hayoo Prelude.map";
13description "Search Haskell APIs";
14name "Hayoo";
15code_url "https://github.com/duckduckgo/zeroclickinfo-spice/blob/master/lib/DDG/Spice/Hayoo.pm";
16icon_url "/i/hackage.haskell.org.ico";
17topics "programming", "sysadmin";
18category "programming";
19attribution github => ['https://github.com/headprogrammingczar','headprogrammingczar'];
20status "enabled";
21
22handle remainder => sub {
23    return $_ if $_;
24    return;
25};
26
271;
28