NAME

WebService::Technorati - a Perl interface to the Technorati web services interface

SYNOPSIS

use WebService::Technorati;

my $apiKey = 'myverylongstringofcharacters';
my $url = 'http://www.arachna.com/roller/page/spidaman';
my $t = WebService::Technorati->new(key => $apiKey);
my $q = $t->getCosmosApiQuery($url);
$q->execute;

my $linkedUrl = $q->getLinkQuerySubject();
# do something with the linkedUrl

my $links = $q->getInboundLinks();
for my $link (@$links) {
    # do something with the link
}

DESCRIPTION

The Technorati web services interfaces use REST wire protocol with a format described at http://developers.technorati.com/

USAGE

Please see the test files in t/ and samples in eg/ for examples on how to use WebServices::Technorati

BUGS

No bugs currently open

SUPPORT

Join the Technorati developers mailing list at http://mail.technorati.com/mailman/listinfo/developers

AUTHOR

Ian Kallen
ikallen _at_ technorati.com
http://developers.technorati.com

COPYRIGHT

This program is free software; you can redistribute it and/or modify it under the terms of the following Creative Commons License: http://creativecommons.org/licenses/by/2.0 as well as the indemnification provisions of the Apache 2.0 style license, the full text of which can be found in the LICENSE file included with this module.

SEE ALSO

perl(1).

getCosmosApiQuery

Usage     : getCosmosApiQuery('http://developers.technorati.com')
Purpose   : Instantiates a CosmosApiQuery with the given url
Returns   : WebService::Technorati::CosmosApiQuery
Argument  : a URL
Throws    : WebService::Technorati::InstantiationException when called 
          : without an api key
Comments  : WebService::Technorati::CosmosApiQuery is a Perl interface to the Technorati
          : web services 'cosmos' interface 

See Also : WebService::Technorati::CosmosApiQuery

getSearchApiQuery

Usage     : getSearchApiQuery('keyword')
Purpose   : Instantiates a SearchApiQuery with the given keyword
Returns   : a WebService::Technorati::SearchApiQuery that may be executed
Argument  : a keyword search term
Throws    : WebService::Technorati::InstantiationException when called 
          : without an api key
Comments  : WebService::Technorati::SearchApiQuery is a Perl interface to the Technorati
          : web services 'search' interface 

See Also : WebService::Technorati::SearchApiQuery

getOutboundApiQuery

Usage     : getOutboundApiQuery('http://developers.technorati.com')
Purpose   : Instantiates a OutboundApiQuery with the given url
Returns   : WebService::Technorati::OutboundApiQuery
Argument  : a url
Throws    : WebService::Technorati::InstantiationException when called 
          : without an api key
Comments  : WebService::Technorati::OutboundApiQuery is a Perl interface to the Technorati
          : web services 'outbound' interface 

See Also : WebService::Technorati::OutboundApiQuery

getAuthorinfoApiQuery

Usage     : getAuthorinfoApiQuery('username')
Purpose   : Instantiates a AuthorinfoApiQuery with the given username
Returns   : WebService::Technorati::AuthorinfoApiQuery
Argument  : a url
Throws    : WebService::Technorati::InstantiationException when called 
          : without an api key
Comments  : WebService::Technorati::AuthorinfoApiQuery is a Perl interface to the Technorati
          : web services 'getinfo' interface 

See Also : WebService::Technorati::AuthorinfoApiQuery

getBloginfoApiQuery

Usage     : getBloginfoApiQuery('http://developers.technorati.com')
Purpose   : Instantiates a BloginfoApiQuery with the given url
Returns   : WebService::Technorati::BloginfoApiQuery
Argument  : a url
Throws    : WebService::Technorati::InstantiationException when called 
          : without an api key
Comments  : WebService::Technorati::BloginfoApiQuery is a Perl interface to the Technorati
          : web services 'bloginfo' interface 

See Also : WebService::Technorati::BloginfoApiQuery