PageRenderTime 66ms queryFilters 0ms Sphinxql 398ms GetByIds 39ms meta 0ms repositoryFilters 161ms languageFilters 0ms sourceFilters 1ms

394 results for 'api.duckduckgo.com' (66 ms)

Source

Language

Repository

Geteventid.pm https://github.com/robertbrook/zeroclickinfo-spice.git | Perl | 41 lines
1package DDG::Spice::Songkick::Geteventid;
2
3use strict;
4use warnings;
5use DDG::Spice;
6
7name "Songkick Events";
8description "See upcoming concerts.";
9source "Songkick";
10primary_example_queries "concerts in Boston";
11secondary_example_queries "Boston concerts";
12category "entertainment";
13topics "entertainment", "everyday", "music";
14# FIXME Point to the duckduckgo repository on pull.
15code_url "https://github.com/bradcater/zeroclickinfo-spice/blob/master/lib/DDG/Spice/Songkick/Events.pm";
Getartistid.pm https://github.com/robertbrook/zeroclickinfo-spice.git | Perl | 36 lines
1package DDG::Spice::Songkick::Getartistid;
2
3use strict;
4use warnings;
5use DDG::Spice;
6
7name "Songkick Artists";
8description "Find similar artists.";
9source "Songkick";
10primary_example_queries "artists like Fleetwood Mac";
11secondary_example_queries "artists similar to Eric Clapton";
12category "entertainment";
13topics "entertainment", "everyday", "music";
14# FIXME Point to the duckduckgo repository on pull.
15code_url "https://github.com/bradcater/zeroclickinfo-spice/blob/master/lib/DDG/Spice/Songkick/Artists.pm";
Congress.pm https://github.com/aembleton/zeroclickinfo-spice.git | Perl | 170 lines
1package DDG::Spice::Congress;
2# ABSTRACT: Return current Congress members for given state.
3
4use DDG::Spice;
5
6primary_example_queries "new york senators";
7secondary_example_queries "florida representatives", "house california";
8description "Shows congress by state";
9name "Congress";
10icon_url "/i/topics.nytimes.com.ico";
11source "The New York Times";
12code_url "https://github.com/duckduckgo/zeroclickinfo-spice/blob/master/lib/DDG/Spice/Congress.pm";
13topics "special_interest", "trivia";
14category "facts";
15attribution web => ['http://kevinschaul.com','Kevin Schaul'],
InTheaters.pm https://github.com/aembleton/zeroclickinfo-spice.git | Perl | 89 lines
1package DDG::Spice::InTheaters;
2# ABSTRACT: Show movies from Rotten Tomatoes.
3
4use DDG::Spice;
5
6primary_example_queries "movies";
7secondary_example_queries "movies in theaters", "currently in theaters", "i want to watch a movie";
8description "Current movies from Rotten Tomatoes";
9name "InTheaters";
10code_url "https://github.com/duckduckgo/zeroclickinfo-spice/blob/master/lib/DDG/Spice/InTheaters.pm";
11icon_url "/i/www.rottentomatoes.com.ico";
12topics "entertainment";
13category "entertainment";
14attribution github => ['https://github.com/jagtalon','jagtalon'],
15            twitter => ['http://twitter.com/juantalon','juantalon'];
Movie.pm https://github.com/aembleton/zeroclickinfo-spice.git | Perl | 33 lines
1package DDG::Spice::Movie;
2
3use DDG::Spice;
4
5primary_example_queries "the graduate movie";
6secondary_example_queries "jiro dreams of sushi rating", "indie game film";
7description "Movie information from Rotten Tomatoes";
8name "Movie";
9code_url "https://github.com/duckduckgo/zeroclickinfo-spice/blob/master/lib/DDG/Spice/Movie.pm";
10icon_url "/i/www.rottentomatoes.com.ico";
11topics "entertainment", "everyday";
12category "entertainment";
13attribution github => ['https://github.com/moollaza','Zaahir Moolla'],
14           twitter => ['https://twitter.com/zmoolla','zmoolla'];
15status "enabled";
HackerNews.pm https://github.com/aembleton/zeroclickinfo-spice.git | Perl | 25 lines
1package DDG::Spice::HackerNews;
2
3use DDG::Spice;
4
5triggers startend => "hn", "hackernews", "hacker news", "news.yc", "news.ycombinator.com", "hn search", "hnsearch", "hacker news search", "hackernews search";
6
7spice to => 'http://api.thriftdb.com/api.hnsearch.com/items/_search?q=$1&limit=50&weights[title]=1.1&weights[text]=0.7&weights[domain]=2.0&weights[username]=0.1&weights[type]=0.0&weights[points]=1.25&boosts[fields][points]=0.15&boosts[fields][num_comments]=0.15&boosts[functions][pow%282,div%28div%28ms%28create_ts,NOW%29,3600000%29,72%29%29]=200.0&callback={{callback}}';
8
9primary_example_queries "hn postgresql";
10description "Search the Hacker News database for related stories/comments";
11name "HackerNews";
12code_url "https://github.com/duckduckgo/zeroclickinfo-spice/blob/master/lib/DDG/Spice/HackerNews.pm";
13icon_url "/i/www.hnsearch.com.ico";
14topics "programming", "social";
15category "forums";
Congress.pm https://github.com/robertbrook/zeroclickinfo-spice.git | Perl | 172 lines
1package DDG::Spice::Congress;
2# ABSTRACT: Return current Congress members for given state.
3
4use DDG::Spice;
5
6primary_example_queries "new york senators";
7secondary_example_queries "florida representatives", "house california";
8description "Shows congress by state";
9name "Congress";
10icon_url "/i/topics.nytimes.com.ico";
11source "Sunlight Foundation";
12code_url "https://github.com/duckduckgo/zeroclickinfo-spice/blob/master/lib/DDG/Spice/Congress.pm";
13topics "special_interest", "trivia";
14category "facts";
15attribution web => ['http://kevinschaul.com','Kevin Schaul','http://www.transistor.io', 'Jason Dorweiler'],
InTheaters.pm https://github.com/robertbrook/zeroclickinfo-spice.git | Perl | 92 lines
1package DDG::Spice::InTheaters;
2# ABSTRACT: Show movies from Rotten Tomatoes.
3
4use DDG::Spice;
5
6primary_example_queries "movies";
7secondary_example_queries "movies in theaters", "currently in theaters", "i want to watch a movie";
8description "Current movies from Rotten Tomatoes";
9name "InTheaters";
10code_url "https://github.com/duckduckgo/zeroclickinfo-spice/blob/master/lib/DDG/Spice/InTheaters.pm";
11icon_url "/i/www.rottentomatoes.com.ico";
12topics "entertainment";
13category "entertainment";
14attribution github => ['https://github.com/jagtalon','jagtalon'],
15            twitter => ['http://twitter.com/juantalon','juantalon'];
Movie.pm https://github.com/robertbrook/zeroclickinfo-spice.git | Perl | 35 lines
1package DDG::Spice::Movie;
2
3use DDG::Spice;
4
5primary_example_queries "the graduate movie";
6secondary_example_queries "jiro dreams of sushi rating", "indie game film";
7description "Movie information from Rotten Tomatoes";
8name "Movie";
9code_url "https://github.com/duckduckgo/zeroclickinfo-spice/blob/master/lib/DDG/Spice/Movie.pm";
10icon_url "/i/www.rottentomatoes.com.ico";
11topics "entertainment", "everyday";
12category "entertainment";
13attribution github => ['https://github.com/moollaza','Zaahir Moolla'],
14           twitter => ['https://twitter.com/zmoolla','zmoolla'];
15
Recipes.pm https://github.com/robertbrook/zeroclickinfo-spice.git | Perl | 36 lines
1package DDG::Spice::Recipes;
2
3use DDG::Spice;
4use Text::Trim;
5
6primary_example_queries 'tofu ginger recipe';
7description 'Search for Recipes';
8name 'Recipes';
9code_url 'https://github.com/duckduckgo/zeroclickinfo-spice/blob/master/lib/DDG/Spice/Recipes.pm';
10
11# removing line breaks from ingredients.txt file:
12my %ingredients = map { trim($_) => 0 } share('ingredients.txt')->slurp;
13
14triggers any => ('recipe', 'recipes', keys(%ingredients));
15
UrbanDictionary.pm https://github.com/aembleton/zeroclickinfo-spice.git | Perl | 32 lines
1package DDG::Spice::UrbanDictionary;
2# ABSTRACT: Give the Urban Dictionary definition of the search query.
3
4use DDG::Spice;
5
6primary_example_queries "urban dictionary ROTFL";
7secondary_example_queries "ud OMG", "ud ASD";
8description "Lookup UrbanDictionary definitions";
9name "UrbanDictionary";
10icon_url "/i/urbandictionary.com.ico";
11source "UrbanDictionary";
12code_url "https://github.com/duckduckgo/zeroclickinfo-spice/blob/master/lib/DDG/Spice/UrbanDictionary.pm";
13topics "geek";
14category "language";
15attribution github => ['https://github.com/FiloSottile','FiloSottile'],
SoundCloud.pm https://github.com/aembleton/zeroclickinfo-spice.git | Perl | 31 lines
1
2package DDG::Spice::SoundCloud;
3
4use DDG::Spice;
5
6description "Displays SoundCloud Players";
7name "SoundCloud";
8primary_example_queries "soundcloud ray bradbury";
9secondary_example_queries "sc kavinsky";
10topics "entertainment", "music";
11category "entertainment";
12code_url "https://github.com/duckduckgo/zeroclickinfo-spice/blob/master/lib/DDG/Spice/SoundCloud.pm";
13attribution web => ['http://jordanscales.com', 'Jordan Scales'],
14            email => ['scalesjordan@gmail.com', 'Jordan Scales'],
15            github => ['http://github.com/prezjordan', 'prezjordan'],
Github.pm https://github.com/aembleton/zeroclickinfo-spice.git | Perl | 25 lines
1package DDG::Spice::Github;
2# ABSTRACT: Search for information about GitHub repositories
3
4use DDG::Spice;
5
6triggers startend => "github";
7spice to => 'https://api.github.com/legacy/repos/search/$1?callback={{callback}}';
8
9primary_example_queries "github zeroclickinfo";
10description "Github info";
11name "Github";
12code_url "https://github.com/duckduckgo/zeroclickinfo-spice/blob/master/lib/DDG/Spice/Github.pm";
13topics "programming", "web_design";
14category "programming";
15attribution web => ['http://dylansserver.com','Dylan Lloyd'],
RandWord.pm https://github.com/aembleton/zeroclickinfo-spice.git | Perl | 35 lines
1package DDG::Spice::RandWord;
2
3use DDG::Spice;
4
5name "Random Word";
6description "Generates a random word";
7source "WordNik";
8primary_example_queries "random word", "random word 5-10";
9category "random";
10topics "words_and_games", "everyday";
11code_url "https://github.com/duckduckgo/zeroclickinfo-spice/blob/master/lib/DDG/Spice/RandWord.pm";
12icon_url "/i/wordnik.com.ico";
13attribution web => ['http://dylansserver.com','Dylan Lloyd'],
14            email => ['dylan@dylansserver.com','Dylan Lloyd'];
15status "enabled";
ChuckNorris.pm https://github.com/aembleton/zeroclickinfo-spice.git | Perl | 24 lines
1package DDG::Spice::ChuckNorris;
2
3use DDG::Spice;
4
5primary_example_queries "chuck norris facts";
6secondary_example_queries "chuck norris jokes";
7description "Chuck Norris facts";
8name "ChuckNorris";
9source "Chuck Norris Database";
10code_url "https://github.com/duckduckgo/zeroclickinfo-spice/blob/master/lib/DDG/Spice/ChuckNorris.pm";
11topics "special_interest";
12category "random";
13attribution github => ['https://github.com/mr-mayank-gupta','Mayank Gupta'],
14           twitter => ['http://twitter.com/iammayankg','Mayank Gupta'];
15
Tumblr.pm https://github.com/aembleton/zeroclickinfo-spice.git | Perl | 27 lines
1package DDG::Spice::Tumblr;
2
3use DDG::Spice;
4
5spice to => 'http://api.tumblr.com/v2/tagged?tag=$1&feature_type=popular&api_key={{ENV{DDG_SPICE_TUMBLR_APIKEY}}}&callback={{callback}}';
6
7primary_example_queries "tumblr flowers";
8description "Tumblr pictures";
9name "Tumblr";
10code_url "https://github.com/duckduckgo/zeroclickinfo-spice/blob/master/lib/DDG/Spice/Tumblr.pm";
11topics "everyday", "social";
12category "entertainment";
13attribution github => ['https://github.com/nilnilnil','Caine Tighe'],
14            twitter => ['http://twitter.com/__nil','caine tighe'];
15status "disabled";
Trends.pm https://github.com/aembleton/zeroclickinfo-spice.git | Perl | 27 lines
1package DDG::Spice::Twitter::Trends;
2# ABSTRACT: Give Twitter's trending topics for the specificed location.
3
4use DDG::Spice;
5
6primary_example_queries "trending";
7secondary_example_queries "trending tweets in japan";
8description "Trending tweets";
9name "Trends";
10icon_url "/i/twitter.com.ico";
11source "Twitter";
12code_url "https://github.com/duckduckgo/zeroclickinfo-spice/blob/master/lib/DDG/Spice/Twitter/Trends.pm";
13topics "everyday", "social";
14category "ids";
15attribution web => ['http://kevinschaul.com','Kevin Schaul'],
search.py https://github.com/kaharrs2/phenny.git | Python | 266 lines
1#!/usr/bin/env python
2"""
3search.py - Phenny Web Search Module
4Copyright 2008-9, Sean B. Palmer, inamidst.com
5Licensed under the Eiffel Forum License 2.
6
7http://inamidst.com/phenny/
8"""
9
10import re
11import web
12
13class Grab(web.urllib.URLopener):
14   def __init__(self, *args):
15      self.version = 'Mozilla/5.0 (Phenny)'
Github.pm https://github.com/tarnfeld/zeroclickinfo-spice.git | Perl | 26 lines
1package DDG::Spice::Github;
2# ABSTRACT: Search for information about GitHub repositories
3
4use DDG::Spice;
5
6triggers any => "github";
7spice to => 'https://api.github.com/legacy/repos/search/$1?callback={{callback}}';
8
9primary_example_queries  => "github zeroclickinfo";
10description "Github info";
11name "Github";
12code_url "https://github.com/duckduckgo/zeroclickinfo-spice/blob/master/lib/DDG/Spice/Github.pm";
13topics => "programming", "web design";
14category => "programming";
15attribution web => ['http://dylansserver.com','Dylan Lloyd'],
Tumblr.pm https://github.com/tarnfeld/zeroclickinfo-spice.git | Perl | 27 lines
1package DDG::Spice::Tumblr;
2
3use DDG::Spice;
4
5spice to => 'http://api.tumblr.com/v2/tagged?tag=$1&feature_type=popular&api_key={{ENV{DDG_SPICE_TUMBLR_APIKEY}}}&callback={{callback}}';
6
7primary_example_queries  => "tumblr flowers";
8description "Tumblr pictures";
9name "Tumblr";
10code_url "https://github.com/duckduckgo/zeroclickinfo-spice/blob/master/lib/DDG/Spice/Tumblr.pm";
11topics => "everyday", "social";
12category => "entertainment";
13attribution github => ['https://github.com/nilnilnil','Caine Tighe'],
14            twitter => ['http://twitter.com/__nil','caine tighe'];
15status "disabled";
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20