mirror of
https://gitlab.com/t6353/sharee.bike.git
synced 2025-07-12 00:16:26 +02:00
rental end json and once miniquery
This commit is contained in:
parent
57515256a5
commit
95d890e188
17 changed files with 224 additions and 91 deletions
1
copri4/main/src/scripts/ftpSWKstatistik.pl
Symbolic link
1
copri4/main/src/scripts/ftpSWKstatistik.pl
Symbolic link
|
@ -0,0 +1 @@
|
|||
../../../../../sharee.bike/copri-bike/main/src/scripts/ftpSWKstatistik.pl
|
26
copri4/main/src/scripts/jsonclient.pl
Executable file
26
copri4/main/src/scripts/jsonclient.pl
Executable file
|
@ -0,0 +1,26 @@
|
|||
#!/usr/bin/perl
|
||||
|
||||
# Client
|
||||
use JSON::RPC::Client;
|
||||
|
||||
my $client = new JSON::RPC::Client;
|
||||
|
||||
my $uri = 'http://www.example.com/jsonrpc/Test';
|
||||
my $obj = {
|
||||
method => 'sum', # or 'MyApp.sum'
|
||||
params => [10, 20],
|
||||
};
|
||||
|
||||
my $res = $client->call( $uri, $obj )
|
||||
|
||||
if($res){
|
||||
if ($res->is_error) {
|
||||
print "Error : ", $res->error_message;
|
||||
}
|
||||
else {
|
||||
print $res->result;
|
||||
}
|
||||
}
|
||||
else {
|
||||
print $client->status_line;
|
||||
}
|
1
copri4/main/src/scripts/statistik_amountCSV_files.pl
Symbolic link
1
copri4/main/src/scripts/statistik_amountCSV_files.pl
Symbolic link
|
@ -0,0 +1 @@
|
|||
../../../../../sharee.bike/copri-bike/main/src/scripts/statistik_amountCSV_files.pl
|
1
copri4/main/src/scripts/statistik_monthlyCSV.pl
Symbolic link
1
copri4/main/src/scripts/statistik_monthlyCSV.pl
Symbolic link
|
@ -0,0 +1 @@
|
|||
../../../../../sharee.bike/copri-bike/main/src/scripts/statistik_monthlyCSV.pl
|
1
copri4/main/src/scripts/statistik_occubike_stationCSV.pl
Symbolic link
1
copri4/main/src/scripts/statistik_occubike_stationCSV.pl
Symbolic link
|
@ -0,0 +1 @@
|
|||
../../../../../sharee.bike/copri-bike/main/src/scripts/statistik_occubike_stationCSV.pl
|
1
copri4/main/src/scripts/statistik_zip_transport.pl
Symbolic link
1
copri4/main/src/scripts/statistik_zip_transport.pl
Symbolic link
|
@ -0,0 +1 @@
|
|||
../../../../../sharee.bike/copri-bike/main/src/scripts/statistik_zip_transport.pl
|
Loading…
Add table
Add a link
Reference in a new issue