PageRenderTime 1ms CodeModel.GetById 3ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/lib/DDG/Spice/Dictionary/Pronunciation.pm

https://github.com/robertbrook/zeroclickinfo-spice
Perl | 16 lines | 11 code | 5 blank | 0 comment | 1 complexity | 67c57cde4b5526e94f3ba6aa4b7069eb MD5 | raw file
 1package DDG::Spice::Dictionary::Pronunciation;
 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/pronunciations?limit=1&useCanonical=false&api_key={{ENV{DDG_SPICE_WORDNIK_APIKEY}}}&callback={{callback}}';
 9triggers any => "///***never_trigger***///";
10
11handle remainder => sub {
12    return $_ if $_;
13    return;
14};
15
161;