NAME

OpenGbg::Service::StyrOchStall::GetBikeStations

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.

AUTHOR

Erik Carlsson <info@code301.com>

COPYRIGHT

Copyright 2014 - Erik Carlsson

LICENSE

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.