/lib/DDG/Spice/Steam/Specials.pm

https://github.com/pardocz/zeroclickinfo-spice · Perl · 25 lines · 20 code · 4 blank · 1 comment · 0 complexity · 139b080c1129808e5752e042d52975e8 MD5 · raw file

  1. package DDG::Spice::Steam::Specials;
  2. # ABSTRACT: Fetch Steam Specials at Steam store.
  3. use DDG::Spice;
  4. name "steam";
  5. source "http://store.steampowered.com";
  6. description "Get featured games on sale at Steam store";
  7. primary_example_queries "steam specials";
  8. category "special";
  9. topics "gaming","entertainment";
  10. icon_url "/i/store.steampowered.com.ico";
  11. code_url "https://github.com/duckduckgo/zeroclickinfo-spice/blob/master/lib/DDG/Spice/Steam/Specials.pm";
  12. attribution github => ["https://github.com/killerfish", "Usman Raza"],
  13. twitter => ["https://twitter.com/f1shie", "Usman Raza"];
  14. triggers startend => "steam special", "steam specials", "steam store", "steam offers", "steam offer";
  15. spice to => 'http://store.steampowered.com/api/featuredcategories';
  16. spice proxy_cache_valid => "200 60m";
  17. spice wrap_jsonp_callback => 1;
  18. handle remainder => sub {
  19. return '';
  20. };
  21. 1;