Use any version of JSON RPC over any libwww supported transport protocols.
Perl
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib/JSON/RPC
t
.gitignore
Changes
MANIFEST.SKIP
README.md
dist.ini

README.md

NAME

JSON::RPC::LWP

Use any version of JSON RPC over any libwww supported transport protocols.

SYNOPSIS

use JSON::RPC::LWP;

my $rpc = JSON::RPC::LWP->new(
  from  => 'name@address.com',
  agent => 'Example ',
);

my $login = $rpc->call(
  'https://us1.lacunaexpanse.com/empire', # uri
  'login', # service
  [$empire,$password,$api_key] # JSON container
);

REASONING

JSON::RPC::Common provides a useful API for a version, and transport, agnostic JSON remote procedure calls. It does not however provide any transport protocol itself. Instead we use LWP::UserAgent to handle the transport.

This module aims to provide a simple layer over JSON::RPC::Common, and LWP::UserAgent to make JSON remote procedure calls easy to use.

REQUIRES

LICENSE

This software is copyright© 2011 by Brad Gilbert.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.