NAME
App::TwitShell::Resources - Container for resources retrieving and parsing functions.
VERSION
Version 4.09
SYNOPSIS
App::TwitShell::Resources contains every common function for HTTP request and data parsing/formatting.
FUNCTIONS
get_request( $url )
Execute a simple GET request.
auth_get_request( $url, $usr, $pwd, $api )
Execute a GET request with HTTP authorization.
auth_post_request( $url, $usr, $pwd, \%request, $api )
Execute a POST request with HTTP authorization.
parse_response( $data )
Parse a HTTP response splitting JSON data, and return a JSON object.
parse_post_hash( $data, $type )
Parse a JSON object, and return an array of posts.
get_api( $network )
Return an API hash based on selected network.
format_post( $status, $type )
Format a single post, from a hash, based on selected post type.
relative_time( $time_value )
Return the relative time from a standard data.
AUTHOR
Alessandro Ghedini, <alexbio at cpan.org>
BUGS
Please report any bugs or feature requests to bug-twitshell at rt.cpan.org
, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=TwitShell. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
SUPPORT
You can find documentation for this module with the perldoc command.
perldoc App::TwitShell::Resources
You can also look for information at:
TwitShell homepage
GitHub page
RT: CPAN's request tracker
AnnoCPAN: Annotated CPAN documentation
CPAN Ratings
Search CPAN
LICENSE AND COPYRIGHT
Copyright 2010 Alessandro Ghedini.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.