se WWW::Bizowie::API::Response;
use LWP::UserAgent;
use HTTP::Request::Common;
use Try::Tiny;
use JSON;
our $VERSION = '0.02';
=head1 NAME
WWW::Bizowie::API - Perl interface to the Bizowie.com API
die "[Bizowie::API] fatal error: no method given" unless $method;
my $request = encode_json($params || { });
my $q = $self->{ua}->request(POST("https://${site}/bz/api/$method",
);
my $o;
{
local $SIG{__DIE__} = sub { };
try {
$o = decode_json($q->decoded_content);
} catch {
$o = { unprocessed => 1 };
};