NAME
WWW::Bund::API::Autobahn - Adapter for Autobahn API (roadworks, webcams, closures, charging stations)
VERSION
version 0.001
SYNOPSIS
use WWW::Bund;
my $bund = WWW::Bund->new;
my $autobahn = $bund->autobahn;
# List all Autobahn roads
my $roads = $autobahn->roads;
# Get data for specific road
my $roadworks = $autobahn->roadworks('A7');
my $webcams = $autobahn->webcams('A7');
my $warnings = $autobahn->warnings('A7');
my $closures = $autobahn->closures('A7');
my $charging = $autobahn->charging_stations('A7');
my $parking = $autobahn->parking_lorries('A7');
DESCRIPTION
Type-safe adapter for the Autobahn App API. Provides access to real-time traffic data for German highways (Autobahns).
All methods return parsed data structures (HashRef or ArrayRef).
client
WWW::Bund client instance. Required. Weak reference to avoid circular refs.
roads
my $roads = $autobahn->roads;
List all Autobahn roads (A1, A2, A3, etc.). Returns ArrayRef of road IDs.
roadworks
my $roadworks = $autobahn->roadworks('A7');
Get active roadworks (construction sites) for a specific Autobahn. Returns ArrayRef of roadwork objects with location, description, and duration.
warnings
my $warnings = $autobahn->warnings('A7');
Get traffic warnings (accidents, hazards, etc.) for a specific Autobahn. Returns ArrayRef of warning objects.
webcams
my $webcams = $autobahn->webcams('A7');
Get traffic webcams for a specific Autobahn. Returns ArrayRef of webcam objects with coordinates and image URLs.
closures
my $closures = $autobahn->closures('A7');
Get road closures for a specific Autobahn. Returns ArrayRef of closure objects.
charging_stations
my $stations = $autobahn->charging_stations('A7');
Get electric vehicle charging stations along a specific Autobahn. Returns ArrayRef of charging station objects.
parking_lorries
my $parking = $autobahn->parking_lorries('A7');
Get truck/lorry parking areas along a specific Autobahn. Returns ArrayRef of parking area objects with capacity and availability.
SUPPORT
Issues
Please report bugs and feature requests on GitHub at https://github.com/Getty/p5-www-bund/issues.
CONTRIBUTING
Contributions are welcome! Please fork the repository and submit a pull request.
AUTHOR
Torsten Raudssus <torsten@raudssus.de>
COPYRIGHT AND LICENSE
This software is copyright (c) 2026 by Torsten Raudssus.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.