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

/lib/DDG/Spice/Dictionary/Audio.pm

https://github.com/robertbrook/zeroclickinfo-spice
Perl | 17 lines | 12 code | 5 blank | 0 comment | 1 complexity | ce3d61e853b884a550036868bf0b825a MD5 | raw file
 1package DDG::Spice::Dictionary::Audio;
 2
 3use DDG::Spice;
 4
 5attribution web => ['http://duckduckgo.com', 'DuckDuckGo'],
 6            twitter => ['http://twitter.com/duckduckgo', '@duckduckgo'];
 7
 8spice to => 'http://api.wordnik.com/v4/word.json/$1/audio?limit=10&useCanonical=false&api_key={{ENV{DDG_SPICE_WORDNIK_APIKEY}}}&callback={{callback}}';
 9triggers any => "///***never_trigger***///";
10spice proxy_cache_valid => "418 1d";
11
12handle remainder => sub {
13    return $_ if $_;
14    return;
15};
16
171;