diff options
Diffstat (limited to '')
| -rw-r--r-- | eg/api.pl | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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}; |
