Marcus Ramberg > WebService-PutIo-0.3 > WebService::PutIo

Download:
WebService-PutIo-0.3.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.3   Source  

NAME ^

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

SYNOPSIS ^

    use WebService::PutIo::Result;
        my $res=WebService::PutIo::Result->new(response=>$res);
        foreach my $file (@{$res->results}) {
           print "Got ". Data::Dumper($file);
        }

DESCRIPTION ^

Result object for the put.io Web Service API.

ATTRIBUTES ^

response

A Mojo::Message::Response object representing the response from put.io

json

JSON object for deserializing. Defaults to a plain Mojo::JSON.

data

The deserialized JSON body.

METHODS ^

count

Number of elements returned by the web service call.

results

Returns an arrayref of results as perl structures.

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.

syntax highlighting: