Skip to content
This repository
branch: master
Zaahir Moolla June 05, 2013
file 27 lines (20 sloc) 0.815 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
package DDG::Spice::GooglePlus;
# ABSTRACT: Search for Google+ users and return their bio.

use DDG::Spice;

primary_example_queries "google+ duckduckgo";
description "Find Google+ users";
name "GooglePlus";
code_url "https://github.com/duckduckgo/zeroclickinfo-spice/blob/master/lib/DDG/Spice/GooglePlus.pm";
topics "everyday", "social";
category "ids";
attribution github => ['https://github.com/jagtalon','jagtalon'],
            twitter => ['http://twitter.com/juantalon','juantalon'];

spice to => 'https://www.googleapis.com/plus/v1/people/?query=$1&key={{ENV{DDG_SPICE_GOOGLE_PLUS_APIKEY}}}&callback={{callback}}&maxResults=12';
spice proxy_ssl_session_reuse => "off";

my @triggers = share("triggers.txt")->slurp;
triggers startend => @triggers;

handle remainder => sub {
return $_ if $_;
return;
};

1;
Something went wrong with that request. Please try again.