NAME

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

VERSION

Version 0.1404, released 2018-05-19.

SYNOPSIS

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

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

METHODS

All attributes and methods in OpenGbg::Service::StyrOchStall::Station are available on an instance of this class.

timestamp

Returns the timestamp given in the response as a DateTime 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) 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.