The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Net::YAP - Module used as a conduit to communicate with the Yahoo! Application Platform

FUNCTIONS

PUBLIC METHODS

new

Creates a new Net::YAP object. The following arguments must be passed to the constructor in order to ensure access is gained to the Yahoo! user's details (location, age, etc).

  KEY                   VALUE
  -----------           --------------------
  consumer_key          This key is defined in the YAP dashboard
  consumer_secret       This key is defined in the YAP dashboard
  access_token          Contained in the incoming request arguments
  access_token_secret   Contained in the incoming request arguments

The consumer_key and consumer_secret are both unique to a YAP project.

get_user_guid

This method returns the guid of the Yahoo! user who has made a request to the YAP application.

get_user_profile

This method returns the profile data of the Yahoo! user who has made a request to the YAP application.

The data is returned as a hash reference.

AUTHOR

The code for this module is largely adapted from Simon Wistow's Net::FireEagle.

Rewritten and packaged by Alistair Francis <opensource@alizta.com>

SEE ALSO

Net::OAuth, Net::OAuth::Simple