HTTP::Thin::UserAgent - A Thin UserAgent around some useful modules.
version 0.001
use HTTP::Thin::UserAgent; my $data = http(GET http://api.metacpan.org/v0/author/PERIGRIN?join=favorite)->as_json;
HTTP::Thin::UserAgent provides what I hope is a thin layer over HTTP::Thin. It exposes an functional API that hopefully makes writing HTTP clients easier. Right now it's in *very* alpha stage and really only helps for writing JSON clients. The intent is to expand it to be more generally useful but a JSON client was what I needed first.
HTTP::Thin::UserAgent
A function that returns a new HTTP::Thin::UserAgent::Client object, which does the actual work for the request. You pas in an HTTP::Request object.
HTTP::Thin::UserAgent::Client
Exports from HTTP::Request::Common to make generating HTTP::Request objects easier.
Chris Prather <chris@prather.org>
This software is copyright (c) 2013 by Chris Prather.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install HTTP::Thin::UserAgent, copy and paste the appropriate command in to your terminal.
cpanm
cpanm HTTP::Thin::UserAgent
CPAN shell
perl -MCPAN -e shell install HTTP::Thin::UserAgent
For more information on module installation, please visit the detailed CPAN module installation guide.