WebService::PutIo - WebService client for the put.io API
use WebService::PutIo; my $ua=WebService::PutIo->new(api_key=>'foo',api_secret=>'bar'); my $res=$ua->request('files','list'); foreach my $file (@{$res->results}) { print "Got ". Data::Dumper($file); }
This is a simple Web Service client for the ping.io service. See the other sub-classes for the actual API functions you can call.
These are the authentication credentials for ping.io. Get them from your account page.
<<<<<<< HEAD The client to use. Defaults to Mojo::UserAgent->new ||||||| merged common ancestors The client to use. Defaults to Mojo::Client->new ======= The useragent client to use. Defaults to Mojo::UserAgent->new >>>>>>> 09f641cdc79848ee9224fd2f2e60408c9d411d75
The JSON object to use. Defaults to Mojo::JSON->new
Send an API request. Takes a class to operate on, an API method, and an optional hash of parameters.
WebService::PutIo::Files, WebService::PutIo::Messages, WebService::PutIo::Subscriptions, WebService::PutIo::Transfers, WebService::PutIo::URLs,WebService::PutIo::User
Marcus Ramberg, mramberg@cpan.org.
mramberg@cpan.org
Copyright (C) 2010, Marcus Ramberg.
This program is free software, you can redistribute it and/or modify it under the terms of the Artistic License version 2.0.
To install WebService::PutIo, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WebService::PutIo
CPAN shell
perl -MCPAN -e shell install WebService::PutIo
For more information on module installation, please visit the detailed CPAN module installation guide.