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