OpenGbg::Service::StyrOchStall::Station - Data on a bike station
Version 0.1403, released 2018-03-14.
my $service = OpenGbg->new->styr_och_stall; my $station = $service->get_bike_stations->get_by_index(2); printf 'Free bikes: %d', $station->free_bikes;
Integer. The station id.
String. The station/location name.
Decimal degrees. The location of the station.
Integer. Maximum number of bikes.
Integer. Number of available bikes.
Integer. Number of open stands.
String. Can be open, closed, maintenance or construction.
open
closed
maintenance
construction
Boolean. Returns true if there is no bike available.
Boolean. Returns true if there is no room to return a bike to.
Returns a string with the station data in a table.
https://github.com/Csson/p5-OpenGbg
https://metacpan.org/release/OpenGbg
Erik Carlsson <info@code301.com>
This software is copyright (c) 2016 by Erik Carlsson.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install OpenGbg, copy and paste the appropriate command in to your terminal.
cpanm
cpanm OpenGbg
CPAN shell
perl -MCPAN -e shell install OpenGbg
For more information on module installation, please visit the detailed CPAN module installation guide.