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

NAME

WebService::PutIo - WebService client for the put.io API

SYNOPSIS

    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);
        }

DESCRIPTION

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.

ATTRIBUTES

api_key

api_secret

These are the authentication credentials for ping.io. Get them from your account page.

ua

<<<<<<< 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

json

The JSON object to use. Defaults to Mojo::JSON->new

METHODS

request <$class>, <$method>, [%params]

Send an API request. Takes a class to operate on, an API method, and an optional hash of parameters.

SEE ALSO

WebService::PutIo::Files, WebService::PutIo::Messages, WebService::PutIo::Subscriptions, WebService::PutIo::Transfers, WebService::PutIo::URLs,WebService::PutIo::User

AUTHOR

Marcus Ramberg, mramberg@cpan.org.

COPYRIGHT AND LICENSE

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.