api sigo and bootstylesheet

This commit is contained in:
Rainer Gümpelein 2022-03-31 07:28:37 +02:00
parent d6c5a31192
commit 2a9099acd2
3 changed files with 49 additions and 14 deletions

View file

@ -30,6 +30,7 @@ my $todo = $ARGV[1];
if($todo eq "get_bikes"){
$si->get_bikes();
my $return = $si->get_bikes("https://shareeapp-sx.copri-bike.de");
print Dumper($return);
}

View file

@ -48,7 +48,7 @@ my %apikeyconf = $aconf->getall;
my $ua = LWP::UserAgent->new;
$ua->agent("sharee veloclient");
my $size = $ua->max_size;
my $bytes = 1000;
my $bytes = 100000;
$ua->max_size( $bytes );
$ua->default_header( 'Authorization' => $apikeyconf{velofaktur}->{bearer} );