mirror of
https://gitlab.com/t6353/sharee.bike.git
synced 2025-07-12 00:16:26 +02:00
api sigo and bootstylesheet
This commit is contained in:
parent
d6c5a31192
commit
2a9099acd2
3 changed files with 49 additions and 14 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
@ -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} );
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue