NAME

OpenGbg::Service::StyrOchStall::GetBikeStation - Get data about a bike station

VERSION

Version 0.1301, released 2015-01-16.

SYNOPSIS

my $service = OpenGbg->new->styr_och_stall;
my $response = $service->get_bike_station(1);

printf 'Time: %s', $response->timestamp;
print $response->station->to_text;

METHODS

timestamp

Returns the timestamp given in the response as a DateTime object.

station

Returns the OpenGbg::Service::StyrOchStall::Station object given in the response.

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.