The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

OpenGbg::Service::StyrOchStall::GetBikeStation

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.

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.