WWW::Yahoo::Links

Tracking Inbound Links in Yahoo Site Explorer API
Download

WWW::Yahoo::Links Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Ivan Baktsheev
  • Publisher web site:
  • http://search.cpan.org/~apla/

WWW::Yahoo::Links Tags


WWW::Yahoo::Links Description

Tracking Inbound Links in Yahoo Site Explorer API WWW::Yahoo::Links is a Perl module for tracking inbound links in Yahoo site explorer API.SYNOPSIS use WWW::Yahoo::Links; my $ylinks = WWW::Yahoo::Links->new ('YahooAppId'); my %params = { omit_inlinks => 'domain', }; print $ylinks->get ('http:://yahoo.com', %params), " ";The WWW::Yahoo::Links is a class implementing a interface for Tracking Inbound Links in Yahoo Site Explorer API.More information here: http://developer.yahoo.com/search/siteexplorer/V1/inlinkData.htmlTo use it, you should create WWW::Yahoo::Links object and use its method get(), to query inbound links for url.It uses LWP::UserAgent for making request to Yahoo and JSON for parsing response.METHODSmy $ylinks = WWW::Yahoo::Links->new ('YahooAppId'); This method constructs a new WWW::Yahoo::Links object and returns it. Required parameter — Yahoo Application Id (http://developer.yahoo.com/faq/index.html#appid)my $ua = $ylinks->user_agent; This method returns constructed LWP::UserAgent object. You can configure object before making requests.my $count = $ylinks->get ('http://yahoo.com', %params); Queries Yahoo about inbound links for a specified url. Parameters similar to params on this http://developer.yahoo.com/search/siteexplorer/V1/inlinkData.html page. If Yahoo returns error, then returned value is undef. In list context this function returns list from three elements where first one is a result as in scalar context, the second one is a HTTP::Response from LWP::UserAgent and third one is a perl hash with response data from Yahoo. This can be usefull for debugging purposes, for querying failure details and for detailed info from yahoo. Requirements: · Perl


WWW::Yahoo::Links Related Software