Group
Extension

Matches 1

WWW-Coderwall ( R/RP/RPICARD/WWW-Coderwall-0.003.tar.gz, RPICARD, 2012; MetaCPAN )
WWW-Coderwall/lib/WWW/Coderwall.pm ( view source; MetaCPAN )
ent;
use Data::Printer;
use JSON;

use Moo;

our $VERSION = "0.003";



sub get_user {
    my ( $self, $username ) = @_;

    my $uri = "http://coderwall.com/$username.json";

    my %user_data = %{$s
->http_agent->get($uri);

    if ( $response->is_success ) {

        my $json = JSON->new->allow_nonref;

        return $json->decode( $response->decoded_content );

    }

    die __PACKAGE__.' API
:User> object given a username.

=head2 _call_api

Takes a URI, calls it, and returns the decoded json response.

For internal use. Use get_user or another get_* function instead.

=head1 SEE ALSO

L<

Powered by Groonga
Maintained by Kenichi Ishigaki <ishigaki@cpan.org>. If you find anything, submit it on GitHub.