NAME

OpenGbg::Service::AirQuality::GetLatestMeasurement - Get the latest air quality measurement

VERSION

Version 0.1400, released 2016-01-28.

SYNOPSIS

my $service = OpenGbg->new->air_quality;
my $response = $service->get_latest_measurement;

print $response->measurement->to_text;

METHODS

measurement

Returns the OpenGbg::Service::AirQuality::Measurement object given in the response (usually less than an hour old).

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.