summaryrefslogtreecommitdiff
path: root/bin/xmlrpcd-phonenum_balance.pl
blob: 7a3e0a7a9c8934226aecdf5a3923c8ea61b796ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/perl

use strict;
use Frontier::Client;
use Data::Dumper;

my $uri = new URI 'http://localhost:8080/';

my $server = new Frontier::Client ( 'url' => $uri );

my $result = $server->call('FS.ClientAPI_XMLRPC.phonenum_balance', 'phonenum' => '9567566022', );

#die $result->{'error'} if $result->{'error'};

print Dumper($result);

1;