From 8b841d433f33fb9d72aefff025a01cdfb202ea29 Mon Sep 17 00:00:00 2001 From: franck cuny Date: Tue, 26 Oct 2010 17:35:23 +0200 Subject: fix method name --- eg/api.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eg/api.pl b/eg/api.pl index 9fd3bee..60559ff 100644 --- a/eg/api.pl +++ b/eg/api.pl @@ -8,6 +8,6 @@ my $api = Net::HTTP::Spore->new_from_spec(shift); $api->enable('Net::HTTP::Spore::Middleware::Format::JSON'); -my ( $content, $result ) = $api->user_information( format => 'json', username => 'franckcuny' ); +my ( $content, $result ) = $api->get_info( format => 'json', username => 'franckcuny' ); say "name => ". $content->{body}->{user}->{name}; -- cgit 1.4.1