- COPYRIGHT AND LICENSE
OpenGbg::Service::TrafficCamera - Entry point to the Traffic Camera service
Version 0.1404, released 2018-05-19.
my $traffic_camera_service = OpenGbg->new->traffic_camera; my $response = $traffic_camera_service->get_traffic_cameras; print $response->camera_devices->get_by_index(0)->to_text;
Traffic cameras all around Gothenburg captures a lot of images (usually once per minute). This service gives information about the cameras themselves, as well as a way to get the latest captured image from all cameras.
See OpenGbg for general information.
Get information on the traffic cameras.
Returns a GetTrafficCameras object.
Returns the CameraDevice object for the camera with id
$id. Undef if no camera has that id.
Get the latest image from the camera with id
Returns a GetCameraImage object.
Erik Carlsson <firstname.lastname@example.org>
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.