Net::OpenSocial::Client

OpenSocial REST/RPC Client
Download

Net::OpenSocial::Client Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Lyo Kato
  • Publisher web site:
  • http://search.cpan.org/~lyokato/

Net::OpenSocial::Client Tags


Net::OpenSocial::Client Description

OpenSocial REST/RPC Client OpenSocial provides API endpoints which called 'RESTful API' and 'RPC'. The Net::OpenSocial::Client Perl module allows you to handle it easily. This provides you a same interface for both REST-API and RPC, so you don't need to mind about the big differences between them.SYNOPSIS use Net::OpenSocial::Client; use Net::OpenSocial::Client::Container::OrkutSandbox; use Net::OpenSocial::Client::Type::Protocol qw(REST RPC); use Data::Dump qw(dump); my $client = Net::OpenSocial::Client->new( container => Net::OpenSocial::Client::Container::OrkutSandbox->new, consumer_key => q{orkut.com:623061448914}, consumer_secret => q{uynAeXiWTisflWX99KU1D2q5}, requestor => q{03067092798963641994}, protocol_type => RPC, ); my $friends = $client->get_friends('@me') or die $client->errstr; for my $person ( @{ $friends->items } ) { say $person->get_field('id'); ... say dump($person->fields); } Requirements: · Perl


Net::OpenSocial::Client Related Software