NAME
OpenGbg::Service::StyrOchStall::GetBikeStations - Get data on all bike stations
VERSION
Version 0.1302, released 2015-01-17.
SYNOPSIS
my $service = OpenGbg->new->styr_och_stall;
my $response = $service->get_bike_stations;
printf 'Time: %s', $response->timestamp;
print $response->stations->get_by_index(5)->to_text;
METHODS
timestamp
Returns the timestamp given in the response as a DateTime object.
stations
Returns the list of stations in the response in a OpenGbg::Service::StyrOchStall::Stations object.
SOURCE
https://github.com/Csson/p5-OpenGbg
HOMEPAGE
https://metacpan.org/release/OpenGbg
AUTHOR
Erik Carlsson <info@code301.com>
COPYRIGHT AND LICENSE
This software is copyright (c) 2015 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.